You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
David S. Miller
parent
1742f183fc
commit
c4d27ef957
@@ -183,7 +183,6 @@ struct net_bridge
|
||||
struct br_cpu_netstats __percpu *stats;
|
||||
spinlock_t hash_lock;
|
||||
struct hlist_head hash[BR_HASH_SIZE];
|
||||
u32 feature_mask;
|
||||
#ifdef CONFIG_BRIDGE_NETFILTER
|
||||
struct rtable fake_rtable;
|
||||
bool nf_call_iptables;
|
||||
@@ -379,7 +378,7 @@ extern int br_add_if(struct net_bridge *br,
|
||||
extern int br_del_if(struct net_bridge *br,
|
||||
struct net_device *dev);
|
||||
extern int br_min_mtu(const struct net_bridge *br);
|
||||
extern void br_features_recompute(struct net_bridge *br);
|
||||
extern u32 br_features_recompute(struct net_bridge *br, u32 features);
|
||||
|
||||
/* br_input.c */
|
||||
extern int br_handle_frame_finish(struct sk_buff *skb);
|
||||
|
||||
Reference in New Issue
Block a user