]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv4/icmp.c
icmp: RCU conversion in icmp_address_reply()
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 7 Jun 2010 22:34:35 +0000 (22:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2010 01:06:13 +0000 (18:06 -0700)
commitcfa087f689402438e3cb0f077e649d01c871b0e7
tree0284b1ef6a086fae77da311cc2f9efd6588a77dc
parent88e7594a9775e54dcd421cb246406dce62e48bee
icmp: RCU conversion in icmp_address_reply()

- rcu_read_lock() already held by caller
- use __in_dev_get_rcu() instead of in_dev_get() / in_dev_put()
- remove goto out;

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