> --- a/net/ipv6/ndisc.c
> +++ b/net/ipv6/ndisc.c
> @@ -148,17 +148,18 @@ void __ndisc_fill_addr_option(struct sk_buff *skb, int 
> type, void *data,

>       space -= data_len;
> -     if (space > 0)
> -             memset(opt, 0, space);
> +
> +     memset(opt, 0, space);

This can't be right.

And what size are you reducing?

Reply via email to