vlan: Use eth_proto_is_802_3
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Mon, 4 May 2015 21:34:10 +0000 (14:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2015 23:24:43 +0000 (19:24 -0400)
commit9545b22da647cf6fbbac9c5a48c50fd72d892b11
treede68fd72233395bcf80b7adfa23db77f9ffeaa77
parent6713fc9b8fa33444aa000f0f31076f6a859ccb34
vlan: Use eth_proto_is_802_3

Replace "ntohs(proto) >= ETH_P_802_3_MIN" w/ eth_proto_is_802_3(proto).

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h