From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [3.8-rc1] Networking problems after pulling-in net.git#master Date: Sun, 23 Dec 2012 22:28:01 +0800 Message-ID: References: <20121223114213.GB8386@liondog.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: sedat.dilek@gmail.com, Borislav Petkov , Linux Kernel Network Developers , LKML , David Miller To: Julian Anastasov Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Sun, Dec 23, 2012 at 10:10 PM, Julian Anastasov wrote: >> - memset(dst_ha, 0, dev->addr_len); >> + memcpy(dst_ha, dev->broadcast, MAX_ADDR_LEN); > > Use dev->addr_len instead of MAX_ADDR_LEN or > better provide NULL ptr to arp_send as before the > "ipv4: arp: fix a lockdep splat in arp_solicit" change, > for example by keeping dst_ha as pointer and using another > name for the temp array that is now dst_ha[MAX_ADDR_LEN]. > OK, I will use a new temp variable. Thanks.