net: bridge: add a flag to avoid refreshing fdb when changing/adding
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 23 Jun 2020 20:47:18 +0000 (23:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 21:36:33 +0000 (14:36 -0700)
commitb5f1d9ec283bd28a452cf61d7e5c2f2b1a9cccda
tree7e31ce30ef4d4a24db01d59cfbf7660a887d7ba3
parent31cbc39b6344916c20452e43a9171009214c409c
net: bridge: add a flag to avoid refreshing fdb when changing/adding

When we modify or create a new fdb entry sometimes we want to avoid
refreshing its activity in order to track it properly. One example is
when a mac is received from EVPN multi-homing peer by FRR, which doesn't
want to change local activity accounting. It makes it static and sets a
flag to track its activity.

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