aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/arp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/arp.c')
-rw-r--r--net/ipv4/arp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c
index 3a683006d761..5b24c65b13c6 100644
--- a/net/ipv4/arp.c
+++ b/net/ipv4/arp.c
@@ -591,8 +591,7 @@ struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
591 /* 591 /*
592 * Fill the device header for the ARP frame 592 * Fill the device header for the ARP frame
593 */ 593 */
594 if (dev->hard_header && 594 if (dev_hard_header(skb, dev, ptype, dest_hw, src_hw, skb->len) < 0)
595 dev->hard_header(skb,dev,ptype,dest_hw,src_hw,skb->len) < 0)
596 goto out; 595 goto out;
597 596
598 /* 597 /*