]> git.baikalelectronics.ru Git - kernel.git/commit
net: use netif_is_bridge_port() to check for IFF_BRIDGE_PORT
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 20 Feb 2020 08:00:07 +0000 (09:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Nov 2021 18:46:15 +0000 (19:46 +0100)
commitd65ac1e635f30676d7f39790695cdb8208421f4d
treeaa1211e240fcb75b9f847983c26c968c46805e49
parentf098ee9ded1b6ef240b0be5f5078c9878f13b11a
net: use netif_is_bridge_port() to check for IFF_BRIDGE_PORT

[ Upstream commit 2e92a2d0e450740ebe7e7a816162327ad1fde94b ]

Trivial cleanup, so that all bridge port-specific code can be found in
one go.

CC: Johannes Berg <johannes@sipsolutions.net>
CC: Roopa Prabhu <roopa@cumulusnetworks.com>
CC: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/bonding/bond_main.c
drivers/net/ethernet/micrel/ksz884x.c
net/core/rtnetlink.c
net/wireless/nl80211.c
net/wireless/util.c