datapath: Use eth_proto_is_802_3.
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Mon, 4 May 2015 21:34:05 +0000 (14:34 -0700)
committerJoe Stringer <joestringer@nicira.com>
Thu, 30 Jul 2015 23:42:07 +0000 (16:42 -0700)
commit935fc58209a571e45013018f169fc11866d9d0b0
treea85646a20ed2261b42b3a6ce98c89bfc68afd6ea
parent0d32b0ece304f7dc1b03dcbbb61eb08522b60112
datapath: Use eth_proto_is_802_3.

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

Backport of upstream commit 6713fc9b8fa33444aa000f0f31076f6a859ccb34:
"openvswitch: Use eth_proto_is_802_3"

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
datapath/flow.c
datapath/flow_netlink.c