diff options
| author | Juhee Kang <[email protected]> | 2022-07-21 10:26:47 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-07-22 11:35:45 +0000 |
| commit | 59ad24714b7bb0c46c69cffc55478cc3295465d3 (patch) | |
| tree | ed71b2e1299cafbdcb8dcd1772eca47e9fa449a6 /include/net/netns/unix.h | |
| parent | net: ipv6: avoid accepting values greater than 2 for accept_untracked_na (diff) | |
| download | kernel-59ad24714b7bb0c46c69cffc55478cc3295465d3.tar.gz kernel-59ad24714b7bb0c46c69cffc55478cc3295465d3.zip | |
mlxsw: use netif_is_any_bridge_port() instead of open code
The open code which is netif_is_bridge_port() || netif_is_ovs_port() is
defined as a new helper function on netdev.h like netif_is_any_bridge_port
that can check both IFF flags in 1 go. So use netif_is_any_bridge_port()
function instead of open code. This patch doesn't change logic.
Signed-off-by: Juhee Kang <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/net/netns/unix.h')
0 files changed, 0 insertions, 0 deletions
