summaryrefslogtreecommitdiff
path: root/net/ipv4/ah4.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@nvidia.com>2020-09-28 18:30:02 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-28 22:47:43 +0300
commitf2f3729fb65c5c2e6db234e6316b71a7bdc4b30b (patch)
tree6793eddf9b64cdd62988fddd1a7a3852d8b4c6bc /net/ipv4/ah4.c
parenta4be47afb02a22689800609247ed9e489de63e13 (diff)
downloadlinux-f2f3729fb65c5c2e6db234e6316b71a7bdc4b30b.tar.xz
net: bridge: fdb: don't flush ext_learn entries
When a user-space software manages fdb entries externally it should set the ext_learn flag which marks the fdb entry as externally managed and avoids expiring it (they're treated as static fdbs). Unfortunately on events where fdb entries are flushed (STP down, netlink fdb flush etc) these fdbs are also deleted automatically by the bridge. That in turn causes trouble for the managing user-space software (e.g. in MLAG setups we lose remote fdb entries on port flaps). These entries are completely externally managed so we should avoid automatically deleting them, the only exception are offloaded entries (i.e. BR_FDB_ADDED_BY_EXT_LEARN + BR_FDB_OFFLOADED). They are flushed as before. Fixes: eb100e0e24a2 ("net: bridge: allow to add externally learned entries from user-space") Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ah4.c')
0 files changed, 0 insertions, 0 deletions