Re: [3.8-rc1] Networking problems after pulling-in net.git#master

From: Cong Wang
Date: Sun Dec 23 2012 - 09:33:13 EST


On Sun, Dec 23, 2012 at 10:10 PM, Julian Anastasov <ja@xxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/