git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a61f802
)
rtnetlink: rtnl_setlink() and rtnl_getlink() changes
author
Eric Dumazet
<eric.dumazet@gmail.com>
Wed, 21 Oct 2009 10:59:31 +0000
(10:59 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 22 Oct 2009 11:33:48 +0000
(
04:33
-0700)
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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found