diff options
-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 7391f55904d1..41c5065f4a87 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c | |||
@@ -228,7 +228,7 @@ int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh) | |||
228 | eth = (struct ethhdr *) | 228 | eth = (struct ethhdr *) |
229 | (((u8 *) hh->hh_data) + (HH_DATA_OFF(sizeof(*eth)))); | 229 | (((u8 *) hh->hh_data) + (HH_DATA_OFF(sizeof(*eth)))); |
230 | 230 | ||
231 | if (type == __constant_htons(ETH_P_802_3)) | 231 | if (type == htons(ETH_P_802_3)) |
232 | return -1; | 232 | return -1; |
233 | 233 | ||
234 | eth->h_proto = type; | 234 | eth->h_proto = type; |