commit | 410b3d48f5111a28bb8d4c3d3dc5984c1baf7fc9 | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Mon Feb 13 14:59:10 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 14 12:41:03 2017 -0500 |
tree | bc656691dc1484ec5dbe7942535b3a63f75d265e | |
parent | bfd0aeac52f74bfb44c0974131e44abb33a13e78 [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>