[Bridge] [PATCHv3 net-next] bridge: allow setting hash_max + multicast_router if interface is down

David Miller davem at davemloft.net
Mon May 25 21:28:18 UTC 2015


From: Linus Lüssing <linus.luessing at c0d3.blue>
Date: Sat, 23 May 2015 03:12:34 +0200

> 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 at c0d3.blue>

Applied to net-next, thanks.


More information about the Bridge mailing list