net: bridge: allow SW learn to take over HW fdb entries
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Thu, 23 Mar 2017 10:27:12 +0000 (12:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Mar 2017 19:30:21 +0000 (12:30 -0700)
commit7e26bf45e4cb4ffaa113dc4a95a3d78bcc51e4cb
tree41975fa9ec23f322a3c2718e5d9a8d0b68c400b3
parent9a32562becd95296a9403175d4992ee3b730e72a
net: bridge: allow SW learn to take over HW fdb entries

Allow to take over an entry which was previously learned via HW when it
shows up from a SW port. This is analogous to how HW takes over SW learned
entries already.

Suggested-by: Roopa Prabhu <roopa@cumulusnetworks.com>
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