igmp: avoid two atomic ops in igmp_rcv()
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 7 Jun 2010 03:17:10 +0000 (03:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jun 2010 04:25:21 +0000 (21:25 -0700)
commit9a57a9d291980302b4a3184fbc47dbddac71903e
treef7e28ced28e4615074ceaf6ab4750a9630cdba95
parent66018506e15bea62de4eefc3298f170b4bfcf5ef
igmp: avoid two atomic ops in igmp_rcv()

in_dev_get() -> __in_dev_get_rcu() in a rcu protected function.

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