Re: [PATCH net-next v2 2/3] net: bridge: add no_linklocal_learn bool option

2018-11-24 Thread Andrew Lunn
On Sat, Nov 24, 2018 at 04:34:21AM +0200, Nikolay Aleksandrov wrote: > Use the new boolopt API to add an option which disables learning from > link-local packets. The default is kept as before and learning is > enabled. This is a simple map from a boolopt bit to a bridge private > flag that is test

[PATCH net-next v2 2/3] net: bridge: add no_linklocal_learn bool option

2018-11-23 Thread Nikolay Aleksandrov
Use the new boolopt API to add an option which disables learning from link-local packets. The default is kept as before and learning is enabled. This is a simple map from a boolopt bit to a bridge private flag that is tested before learning. v2: pass NULL for extack via sysfs Signed-off-by: Nikol