Thread (5 messages) flat view 5 messages, 3 authors, 2009-10-22

Re: [PATCH net-next-2.6] rtnetlink: rtnl_setlink() and rtnl_getlink() changes

From: David Miller <davem@davemloft.net>
Date: 2009-10-22 11:33:57

From: Eric Dumazet <redacted>
Date: Wed, 21 Oct 2009 22:59:31 +0200
rtnl_getlink() & rtnl_setlink() run with RTNL held, we can use
__dev_get_by_index() and __dev_get_by_name() variants and avoid
dev_hold()/dev_put()

Adds to rtnl_getlink() the capability to find a device by its name,
not only by its index.

Signed-off-by: Eric Dumazet <redacted>
Looks good, applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help