]> 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)
commit6dde425329ca2d94b7a4d36eef5f7b5f99aa8537
treec85a38391a6e689067d8d3a6607e6930c1a3ad55
parenta0831f7bad5316e053b6c32406d40d47ba785587
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