]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: avoid a dev refcount in ip_mc_find_dev()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 19 Oct 2010 00:39:18 +0000 (00:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Oct 2010 10:50:47 +0000 (03:50 -0700)
commit9e917dca74138cccf398ce8bb924c7fd2980ec1d
tree9aeaa145a5a2b4a513a814eb41f05bd2446ddfe5
parent5d6076bb2e642bbcb1263c6cf239b9a1f3d0df08
net: avoid a dev refcount in ip_mc_find_dev()

We hold RTNL in ip_mc_find_dev(), no need to touch device refcount.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c
net/ipv4/igmp.c