commit | ecf4ee41d25832a6ec52f8b54dfaa46c08b949d5 | [log] [tgz] |
---|---|---|
author | Shmulik Ladkani <shmulik.ladkani@ravellosystems.com> | Tue Sep 20 12:48:37 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 22 01:35:57 2016 -0400 |
tree | 1fe4847e6939be2735bce8f6d7bee92dcfcd08a9 | |
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>