]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0e7c6327bc1f8c53e86690c5efe598c9041d726
treecbb9e80f9df01fb7de4e1553dca3830dee4780ac
parent421752648b5bac7a69d0ab6df2e2a8bfc6f4fa72
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