diff options
Diffstat (limited to 'net/ethernet')
-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 43863933f27f..4bd78c8cfb26 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c | |||
@@ -223,7 +223,7 @@ static int eth_header_parse(struct sk_buff *skb, unsigned char *haddr) | |||
223 | */ | 223 | */ |
224 | int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh) | 224 | int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh) |
225 | { | 225 | { |
226 | unsigned short type = hh->hh_type; | 226 | __be16 type = hh->hh_type; |
227 | struct ethhdr *eth; | 227 | struct ethhdr *eth; |
228 | struct net_device *dev = neigh->dev; | 228 | struct net_device *dev = neigh->dev; |
229 | 229 | ||