aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorShmulik Ladkani <[email protected]>2016-09-20 09:48:37 +0000
committerDavid S. Miller <[email protected]>2016-09-22 05:35:57 +0000
commitecf4ee41d25832a6ec52f8b54dfaa46c08b949d5 (patch)
tree1fe4847e6939be2735bce8f6d7bee92dcfcd08a9 /drivers/net/xen-netback/interface.c
parentnet: skbuff: Remove errornous length validation in skb_vlan_pop() (diff)
downloadkernel-ecf4ee41d25832a6ec52f8b54dfaa46c08b949d5.tar.gz
kernel-ecf4ee41d25832a6ec52f8b54dfaa46c08b949d5.zip
net: skbuff: Coding: Use eth_type_vlan() instead of open coding it
Fix 'skb_vlan_pop' to use eth_type_vlan instead of directly comparing skb->protocol to ETH_P_8021Q or ETH_P_8021AD. Signed-off-by: Shmulik Ladkani <[email protected]> Reviewed-by: Pravin B Shelar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions