Commit 7d3a9267 authored by Nikolay Aleksandrov's avatar Nikolay Aleksandrov Committed by Greg Kroah-Hartman
Browse files

net: bridge: fdb: convert is_static to bitops



[ Upstream commit 29e63fff ]

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: default avatarNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: bee2ef94 ("net: bridge: br_fdb_external_learn_add(): always set EXT_LEARN")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3e28497e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment