diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-04-22 02:31:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-28 16:33:08 -0400 |
commit | c4d27ef957cd9261c0bc8488edaf8390e412cd35 (patch) | |
tree | f8e263ca9a1842803a2265bffd5eaa3e5b3d9660 /net/bridge/br_private.h | |
parent | 1742f183fc218798dab6fcf0ded25b6608fc0a48 (diff) |
bridge: convert br_features_recompute() to ndo_fix_features
Note: netdev_update_features() needs only rtnl_lock as br->port_list
is only changed while holding it.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index e2a40343aa0..54578f274d8 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -183,7 +183,6 @@ struct net_bridge | |||
183 | struct br_cpu_netstats __percpu *stats; | 183 | struct br_cpu_netstats __percpu *stats; |
184 | spinlock_t hash_lock; | 184 | spinlock_t hash_lock; |
185 | struct hlist_head hash[BR_HASH_SIZE]; | 185 | struct hlist_head hash[BR_HASH_SIZE]; |
186 | u32 feature_mask; | ||
187 | #ifdef CONFIG_BRIDGE_NETFILTER | 186 | #ifdef CONFIG_BRIDGE_NETFILTER |
188 | struct rtable fake_rtable; | 187 | struct rtable fake_rtable; |
189 | bool nf_call_iptables; | 188 | bool nf_call_iptables; |
@@ -379,7 +378,7 @@ extern int br_add_if(struct net_bridge *br, | |||
379 | extern int br_del_if(struct net_bridge *br, | 378 | extern int br_del_if(struct net_bridge *br, |
380 | struct net_device *dev); | 379 | struct net_device *dev); |
381 | extern int br_min_mtu(const struct net_bridge *br); | 380 | extern int br_min_mtu(const struct net_bridge *br); |
382 | extern void br_features_recompute(struct net_bridge *br); | 381 | extern u32 br_features_recompute(struct net_bridge *br, u32 features); |
383 | 382 | ||
384 | /* br_input.c */ | 383 | /* br_input.c */ |
385 | extern int br_handle_frame_finish(struct sk_buff *skb); | 384 | extern int br_handle_frame_finish(struct sk_buff *skb); |