aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_stp_bpdu.c
diff options
context:
space:
mode:
authorLinus Lüssing <linus.luessing@c0d3.blue>2015-05-23 03:12:34 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-25 17:28:01 -0400
commit6ae4ae8e512bd229f806c22f8a2cd751e4f987c2 (patch)
tree97391e61e15ecc988786fe6b36a2db525c2694d7 /net/bridge/br_stp_bpdu.c
parentipv6: don't increase size when refragmenting forwarded ipv6 skbs (diff)
downloadlinux-dev-6ae4ae8e512bd229f806c22f8a2cd751e4f987c2.tar.xz
linux-dev-6ae4ae8e512bd229f806c22f8a2cd751e4f987c2.zip
bridge: allow setting hash_max + multicast_router if interface is down
Network managers like netifd (used in OpenWRT for instance) try to configure interface options after creation but before setting the interface up. Unfortunately the sysfs / bridge currently only allows to configure the hash_max and multicast_router options when the bridge interface is up. But since br_multicast_init() doesn't start any timers and only sets default values and initializes timers it should be save to reconfigure the default values after that, before things actually get active after the bridge is set up. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_stp_bpdu.c')
0 files changed, 0 insertions, 0 deletions