diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-05 20:47:35 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-05 22:34:16 -0800 |
commit | 31ef30c760f7ddb133fa538df1dfbec1f42294d7 (patch) | |
tree | 999e55e8eb3a2279b2584fbeffdd2d0eeac63061 /net/netlabel | |
parent | c84b3268da3b85c9d8a9e504e1001a14ed829e94 (diff) | |
download | lwn-31ef30c760f7ddb133fa538df1dfbec1f42294d7.tar.gz lwn-31ef30c760f7ddb133fa538df1dfbec1f42294d7.zip |
bridge: remove dev_put() in add_del_if()
add_del_if() is called with RTNL, we can use __dev_get_by_index()
instead of [dev_get_by_index() + dev_put()]
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions