]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21f40588ae070533c93ae72b62271882f55869f0
tree950214451e4bb2172cd9beb8f27a415664f77909
parenta30a93ec1c2f225b76bded7ca81a5f983c1bf800
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