]> git.baikalelectronics.ru Git - kernel.git/commit
net: core: use eth_type_vlan in __netif_receive_skb_core
authorMenglong Dong <dong.menglong@zte.com.cn>
Mon, 11 Jan 2021 10:42:21 +0000 (02:42 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 Jan 2021 03:08:54 +0000 (19:08 -0800)
commit09c1be4cbfadfb640bd638b534c8523c37247d48
tree624beaf2954af3c0ae977ef65df1bbffe380bdcc
parente7a5d7e12da1629bc4df713160355cac98df1f39
net: core: use eth_type_vlan in __netif_receive_skb_core

Replace the check for ETH_P_8021Q and ETH_P_8021AD in
__netif_receive_skb_core with eth_type_vlan.

Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Link: https://lore.kernel.org/r/20210111104221.3451-1-dong.menglong@zte.com.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/dev.c