Skip to content
Commit a98c0c47 authored by Menglong Dong's avatar Menglong Dong Committed by Jakub Kicinski
Browse files

net: bridge: check vlan with eth_type_vlan() method



Replace some checks for ETH_P_8021Q and ETH_P_8021AD with
eth_type_vlan().

Signed-off-by: default avatarMenglong Dong <dong.menglong@zte.com.cn>
Acked-by: default avatarNikolay Aleksandrov <nikolay@nvidia.com>
Link: https://lore.kernel.org/r/20210117080950.122761-1-dong.menglong@zte.com.cn
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 220723dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment