]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita735f926ccbebe2ab296fc5306809662150085b2
treede68fd72233395bcf80b7adfa23db77f9ffeaa77
parentce072be71278d919f8c09af7b54536c651a1a6e0
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