]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1bba299424d13d13921b6c3b8ba8a12794b1fc71
treedbb754ed82d3266d438fba54a6dfc4273c385c85
parent841866424858395314adc2c033e1ff4c10aa931d
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