ipmr: __pim_rcv() is called under rcu_read_lock
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 1 Oct 2010 16:14:55 +0000 (16:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Oct 2010 04:50:52 +0000 (21:50 -0700)
commit55747a0a73ea74a25fcebb0731e8d3f13fe8c09d
treead041d4c50fab573499e49b48f73e9a198bd7164
parentddcb4541e917780ef7ccc68dd8df18ca0bc055d0
ipmr: __pim_rcv() is called under rcu_read_lock

No need to get a reference on reg_dev and release it, we are in a
rcu_read_lock() protected section.

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