From 48ea2dc79f64594eb2bb4e9b19cb69b74156ea6a Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Sun, 23 Dec 2012 15:00:54 +0100 Subject: [PATCH] ipv4: arp: Fixup to commit 9650388b5c56578fdccc79c57a8c82fb92b8e7f1 Patch is from --- net/ipv4/arp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 1169ed4..75e0d7c 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c @@ -365,7 +365,7 @@ static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb) pr_debug("trying to ucast probe in NUD_INVALID\n"); neigh_ha_snapshot(dst_ha, neigh, dev); } else { - memset(dst_ha, 0, dev->addr_len); + memcpy(dst_ha, dev->broadcast, MAX_ADDR_LEN); probes -= neigh->parms->app_probes; if (probes < 0) { #ifdef CONFIG_ARPD -- 1.7.9.5