diff options
author | David S. Miller <davem@davemloft.net> | 2017-02-14 12:41:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-14 12:41:04 -0500 |
commit | 9b8e1056dbad7ea3f1bcd3db0ea7cf6682d077b1 (patch) | |
tree | 1b39637ff17b3908b6267dbd4c0596f59b17961c | |
parent | 91eaa475e287e7cf87959d68fb273e4f092897f4 (diff) | |
parent | 5019ab50f26c247abb510a80635b25b64b6c1f4b (diff) |
Merge branch 'bridge-fdb-minor-cleanup'
Nikolay Aleksandrov says:
====================
bridge: minor fdb cleanup
These patches aim to simplify the bridge fdb API a little by removing some
redundant functions and converting them into wrappers of a single function.
Also add proper lock checking to avoid future mistakes for the search
functions.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/bridge/br_device.c | 2 | ||||
-rw-r--r-- | net/bridge/br_fdb.c | 177 | ||||
-rw-r--r-- | net/bridge/br_input.c | 4 | ||||
-rw-r--r-- | net/bridge/br_private.h | 14 |
4 files changed, 81 insertions, 116 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c |