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

Convert the is_static to bitops, make use of the combined
test_and_set/clear_bit to simplify expressions in fdb_add_entry.

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_private.h