summaryrefslogtreecommitdiff
path: root/include/scsi/scsi_dbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/scsi_dbg.h')
0 files changed, 0 insertions, 0 deletions
e?h=nds-private-remove&id=5019ab50f26c247abb510a80635b25b64b6c1f4b'>5019ab50f26c247abb510a80635b25b64b6c1f4b (patch) tree1b39637ff17b3908b6267dbd4c0596f59b17961c /net/bridge parent410b3d48f5111a28bb8d4c3d3dc5984c1baf7fc9 (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>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br_fdb.c62
1 files changed, 15 insertions, 47 deletions
diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c