net: bridge: add support for sticky fdb entries
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 11 Sep 2018 06:39:53 +0000 (09:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 03:30:03 +0000 (20:30 -0700)
commit435f2e7cc0b783615d7fbcf08f5f00d289f9caeb
tree5f5f9be24f4b7e60cc7b722556791f14c6fe622e
parent15665342d48ba7fc7c2284663332381bc3083d33
net: bridge: add support for sticky fdb entries

Add support for entries which are "sticky", i.e. will not change their port
if they show up from a different one. A new ndm flag is introduced for that
purpose - NTF_STICKY. We allow to set it only to non-local entries.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/neighbour.h
net/bridge/br_fdb.c
net/bridge/br_private.h