diff options
author | Shmulik Ladkani <shmulik.ladkani@ravellosystems.com> | 2016-09-20 12:48:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 01:35:57 -0400 |
commit | ecf4ee41d25832a6ec52f8b54dfaa46c08b949d5 (patch) | |
tree | 1fe4847e6939be2735bce8f6d7bee92dcfcd08a9 /COPYING | |
parent | 636c2628086e40c86dac7ddc84a1c4b4fcccc6e3 (diff) |
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 <shmulik.ladkani@gmail.com>
Reviewed-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions