summaryrefslogtreecommitdiff
path: root/tools/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arch/arm')
0 files changed, 0 insertions, 0 deletions
v class='commit-subject'>bridge: fdb: converge fdb searching functions into one
Before this patch we had 3 different fdb searching functions which was confusing. This patch reduces all of them to one - fdb_find_rcu(), and two flavors: br_fdb_find() which requires hash_lock and br_fdb_find_rcu which requires RCU. This makes it clear what needs to be used, we also remove two abusers of __br_fdb_get which called it under hash_lock and replace them with br_fdb_find(). Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/bridge/br_device.c2
-rw-r--r--net/bridge/br_fdb.c113
-rw-r--r--net/bridge/br_input.c4
-rw-r--r--net/bridge/br_private.h5
4 files changed, 54 insertions, 70 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c