]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: add proper RCU annotation to should_route_hook
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 15 Nov 2010 06:38:11 +0000 (06:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Nov 2010 19:13:16 +0000 (11:13 -0800)
commit5942ee4b8dc755356b25a3a950ca01e8227b319a
tree63f137ee76576555118ae0ff6a49ee6f0412aa11
parentd9be726fc9d9b8c6ef9a3ec024d071b67060454c
bridge: add proper RCU annotation to should_route_hook

Add br_should_route_hook_t typedef, this is the only way we can
get a clean RCU implementation for function pointer.

Move route_hook to location where it is used.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_bridge.h
net/bridge/br.c
net/bridge/br_input.c
net/bridge/netfilter/ebtable_broute.c