net: bridge: fdb: br_fdb_update can take flags directly
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Fri, 1 Nov 2019 12:46:37 +0000 (14:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Nov 2019 17:32:43 +0000 (10:32 -0700)
commitbe0c5677970d4f21dc701136a178437aad9983b2
treeb184e2267710af2a4440213d2a2e54e33218729d
parent52340b82cf1a9c8d466b6e36a0881bc44174b969
net: bridge: fdb: br_fdb_update can take flags directly

If we modify br_fdb_update() to take flags directly we can get rid of
one test and one atomic bitop in the learning path.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/bridge.h
net/bridge/br_fdb.c
net/bridge/br_input.c
net/bridge/br_private.h