]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8d3aa595722e55e7fa230ba0fe5d73f9070dc4f
treef7e28ced28e4615074ceaf6ab4750a9630cdba95
parentfb48d7c2905572bb3e21b841ab1298eddcdacb42
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