lkml.org 
[lkml]   [2012]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [3.8-rc1] Networking problems after pulling-in net.git#master
From
On Sun, Dec 23, 2012 at 10:10 PM, Julian Anastasov <ja@ssi.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.


\
 
 \ /
  Last update: 2012-12-23 15:41    [W:0.051 / U:4.740 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site