igmp: Use next_net_device_rcu()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 11 Nov 2009 17:48:52 +0000 (17:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:38:49 +0000 (20:38 -0800)
commit6baff15037693c057e3047da02c460c7e7b346c2
treefb458ff7b447b4b21e8d5bb00569d4dabe8ddd04
parentce81b76a39835a721cd168e0c0bcfe7132f1f66b
igmp: Use next_net_device_rcu()

We need to use next_det_device_rcu() in RCU protected section.

We also can avoid in_dev_get()/in_dev_put() overhead (code size mainly)
in rcu_read_lock() sections.

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>
net/ipv4/igmp.c