diff options
Diffstat (limited to 'net/ethernet/eth.c')
-rw-r--r-- | net/ethernet/eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c index a36c85eab5b4..5359560926bc 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c | |||
@@ -195,7 +195,7 @@ __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev) | |||
195 | if (netdev_uses_trailer_tags(dev)) | 195 | if (netdev_uses_trailer_tags(dev)) |
196 | return htons(ETH_P_TRAILER); | 196 | return htons(ETH_P_TRAILER); |
197 | 197 | ||
198 | if (ntohs(eth->h_proto) >= 1536) | 198 | if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) |
199 | return eth->h_proto; | 199 | return eth->h_proto; |
200 | 200 | ||
201 | /* | 201 | /* |