net: bridge: allow to add externally learned entries from user-space
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Thu, 23 Mar 2017 10:27:13 +0000 (12:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Mar 2017 19:30:21 +0000 (12:30 -0700)
commiteb100e0e24a23f309d0765061ea4dfd8ca9d400d
treedbb754ed82d3266d438fba54a6dfc4273c385c85
parent7e26bf45e4cb4ffaa113dc4a95a3d78bcc51e4cb
net: bridge: allow to add externally learned entries from user-space

The NTF_EXT_LEARNED flag was added for switchdev and externally learned
entries, but it can also be used for entries learned via a software
in user-space which requires dynamic entries that do not expire.
One such case that we have is with quagga and evpn which need dynamic
entries but also require to age them themselves.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c