aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethernet/eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethernet/eth.c')
-rw-r--r--net/ethernet/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c
index bf10a311cf1c..5889a6c38a10 100644
--- a/net/ethernet/eth.c
+++ b/net/ethernet/eth.c
@@ -77,7 +77,7 @@ __setup("ether=", netdev_boot_setup);
77 */ 77 */
78int eth_header(struct sk_buff *skb, struct net_device *dev, 78int eth_header(struct sk_buff *skb, struct net_device *dev,
79 unsigned short type, 79 unsigned short type,
80 const void *daddr, const void *saddr, unsigned len) 80 const void *daddr, const void *saddr, unsigned int len)
81{ 81{
82 struct ethhdr *eth = (struct ethhdr *)skb_push(skb, ETH_HLEN); 82 struct ethhdr *eth = (struct ethhdr *)skb_push(skb, ETH_HLEN);
83 83