diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-02-27 14:41:40 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-28 03:48:43 -0500 |
commit | 68b7c895be336b19f4c38d7cb500132fabba0afd (patch) | |
tree | 13f2a04c86d22abd1c44e9659e54a13c8f939689 /net/bridge/br_private.h | |
parent | 87557c18ac36241b596984589a0889c5c4bf916c (diff) |
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 1f0c4f44b765..16513793156e 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -131,6 +131,12 @@ struct net_bridge | |||
131 | struct kobject *ifobj; | 131 | struct kobject *ifobj; |
132 | }; | 132 | }; |
133 | 133 | ||
134 | struct br_input_skb_cb { | ||
135 | struct net_device *brdev; | ||
136 | }; | ||
137 | |||
138 | #define BR_INPUT_SKB_CB(__skb) ((struct br_input_skb_cb *)(__skb)->cb) | ||
139 | |||
134 | extern struct notifier_block br_device_notifier; | 140 | extern struct notifier_block br_device_notifier; |
135 | extern const u8 br_group_address[ETH_ALEN]; | 141 | extern const u8 br_group_address[ETH_ALEN]; |
136 | 142 | ||