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)
commita386f99025f13b32502fe5dedf223c20d7283826
tree63f137ee76576555118ae0ff6a49ee6f0412aa11
parente80516880019aa1f7c5c410276edfea9575ec89f
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