diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-02-27 19:41:40 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-28 08:48:43 (GMT) |
commit | 68b7c895be336b19f4c38d7cb500132fabba0afd (patch) | |
tree | 13f2a04c86d22abd1c44e9659e54a13c8f939689 /net/bridge/br_private.h | |
parent | 87557c18ac36241b596984589a0889c5c4bf916c (diff) | |
download | linux-68b7c895be336b19f4c38d7cb500132fabba0afd.tar.xz |
bridge: Allow tail-call on br_pass_frame_up
This patch allows tail-call on the call to br_pass_frame_up
in br_handle_frame_finish. This is now possible because of the
previous patch to call br_pass_frame_up last.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 1f0c4f4..1651379 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -131,6 +131,12 @@ struct net_bridge struct kobject *ifobj; }; +struct br_input_skb_cb { + struct net_device *brdev; +}; + +#define BR_INPUT_SKB_CB(__skb) ((struct br_input_skb_cb *)(__skb)->cb) + extern struct notifier_block br_device_notifier; extern const u8 br_group_address[ETH_ALEN]; |