net: bridge: Notify about !added_by_user FDB entries
authorPetr Machata <petrm@mellanox.com>
Thu, 3 May 2018 12:43:53 +0000 (14:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2018 17:46:47 +0000 (13:46 -0400)
commit161d82de1ff8430ef96d90d0da0e3643979791d2
treee502263bda06c2ca20ae238414773447c015ef93
parent816a3bed9549fcc0c90ba97c9077e64e734f0df6
net: bridge: Notify about !added_by_user FDB entries

Do not automatically bail out on sending notifications about activity on
non-user-added FDB entries. Instead, notify about this activity except
for cases where the activity itself originates in a notification, to
avoid sending duplicate notifications.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br.c
net/bridge/br_fdb.c
net/bridge/br_private.h
net/bridge/br_switchdev.c