]> 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)
commitc44aa5f1a840fd7c50b0e65964c9e7a8a55b438d
treede68fd72233395bcf80b7adfa23db77f9ffeaa77
parentd7b870922d864df7a7bc77730332dce2b15185b9
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