ebtables: Use eth_proto_is_802_3
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Mon, 4 May 2015 21:33:54 +0000 (14:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2015 23:24:42 +0000 (19:24 -0400)
commit27cf6a6e69a52b07adc68af11e3e39548593baf0
treecbb9e80f9df01fb7de4e1553dca3830dee4780ac
parent2c7a88c252bf3381958cf716f31b6b2e0f2f3fa7
ebtables: 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/bridge/netfilter/ebtables.c