inet: RCU changes in inetdev_by_index()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 19 Oct 2010 00:39:26 +0000 (00:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Oct 2010 10:50:48 +0000 (03:50 -0700)
commit8723e1b4ad9be4444423b4d41509ce859a629649
tree00b0121c12e62736807e998b22b8964f1a5e1df9
parent9e917dca74138cccf398ce8bb924c7fd2980ec1d
inet: RCU changes in inetdev_by_index()

Convert inetdev_by_index() to not increment in_dev refcount.

Callers hold RCU or RTNL, and should not decrement in_dev refcount.

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