]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: fdb: convert is_local to bitops
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 29 Oct 2019 11:45:53 +0000 (13:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Oct 2019 01:12:49 +0000 (18:12 -0700)
commitc3660df45f18726405bc0d9ca77cdbde4e8ec676
treec85a38391a6e689067d8d3a6607e6930c1a3ad55
parent7f3acf3b5b07d83045905e8747efd4e1f55a0e82
net: bridge: fdb: convert is_local to bitops

The patch adds a new fdb flags field in the hole between the two cache
lines and uses it to convert is_local to bitops.

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