summaryrefslogtreecommitdiff
path: root/include/asm-generic/bitops.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2018-11-24 05:34:21 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-28 02:04:15 +0300
commit70e4272b4c81828e7d942209bae83b9d92752cfe (patch)
tree4d3d081ba8776a1d67206c8c9d0ba4d1807e3092 /include/asm-generic/bitops.h
parenta428afe82f98d2ffb31c981671630df1fa25906f (diff)
downloadlinux-70e4272b4c81828e7d942209bae83b9d92752cfe.tar.xz
net: bridge: add no_linklocal_learn bool option
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: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-generic/bitops.h')
0 files changed, 0 insertions, 0 deletions