OSDN Git Service

vxlan: Notify for each remote of a removed FDB entry
authorPetr Machata <petrm@mellanox.com>
Wed, 17 Oct 2018 08:53:27 +0000 (08:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2018 00:45:08 +0000 (17:45 -0700)
commit045a5a99141d96e6254664783e8afb4e298ae2c9
treee8a0213d96d325a6c29c497bd9d53ad799916d32
parent0efe11733356273d734cc2c5ab2dc6f5865cbeb6
vxlan: Notify for each remote of a removed FDB entry

When notifications are sent about FDB activity, and an FDB entry with
several remotes is removed, the notification is sent only for the first
destination. That makes it impossible to distinguish between the case
where only this first remote is removed, and the one where the FDB entry
is removed as a whole.

Therefore send one notification for each remote of a removed FDB entry.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c