commit | 5019ab50f26c247abb510a80635b25b64b6c1f4b | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Mon Feb 13 14:59:11 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 14 12:41:03 2017 -0500 |
tree | 1b39637ff17b3908b6267dbd4c0596f59b17961c | |
parent | 410b3d48f5111a28bb8d4c3d3dc5984c1baf7fc9 [diff] |
bridge: fdb: converge fdb_delete_by functions into one We can simplify the logic of entries pointing to the bridge by converging the fdb_delete_by functions, this would allow us to use the same function for both cases since the fdb's dst is set to NULL if it is pointing to the bridge thus we can always check for a port match. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>