summaryrefslogtreecommitdiff
path: root/net/llc/llc_pdu.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/llc/llc_pdu.c')
0 files changed, 0 insertions, 0 deletions
3dc5984c1baf7fc9'>net parentbfd0aeac52f74bfb44c0974131e44abb33a13e78 (diff)
bridge: fdb: add proper lock checks in searching functions
In order to avoid new errors add checks to br_fdb_find and fdb_find_rcu functions. The first requires hash_lock, the second obviously RCU. 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_fdb.c4
-rw-r--r--net/bridge/br_private.h9
2 files changed, 13 insertions, 0 deletions
diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c