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

Reply via email to