ipv4/ip_tunnel_core: Use eth_proto_is_802_3
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Mon, 4 May 2015 21:33:59 +0000 (14:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2015 23:24:42 +0000 (19:24 -0400)
commitd181ddca89cf8680db6c767ae38e3b66224d1657
tree3f44c14b1c85a8359e4c054ed9b44576995b60f2
parent27cf6a6e69a52b07adc68af11e3e39548593baf0
ipv4/ip_tunnel_core: 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>
net/ipv4/ip_tunnel_core.c