ipmr: RCU protection for mfc_cache_array
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 1 Oct 2010 16:15:08 +0000 (16:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Oct 2010 04:50:53 +0000 (21:50 -0700)
commita8c9486b816f74d4645144db9e8fa2f711c1fc4b
tree950214451e4bb2172cd9beb8f27a415664f77909
parent4c9687098f245601e9d94178715ee03afbcc6f80
ipmr: RCU protection for mfc_cache_array

Use RCU & RTNL protection for mfc_cache_array[]

ipmr_cache_find() is called under rcu_read_lock();

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