[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpX0Zp78VuH1Pr7h4u3pPib-DDSHPiwSphjZ+WWG5j2w3Q@mail.gmail.com>
Date: Sun, 23 Dec 2012 22:28:01 +0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Julian Anastasov <ja@....bg>
Cc: sedat.dilek@...il.com, Borislav Petkov <bp@...en8.de>,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
David Miller <davem@...emloft.net>
Subject: Re: [3.8-rc1] Networking problems after pulling-in net.git#master
On Sun, Dec 23, 2012 at 10:10 PM, Julian Anastasov <ja@....bg> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists