Re: [PATCH net/3.9] ipv6: ndisc: fix ndisc_send_redirect writingto the wrong skb

From: David Miller
Date: Fri May 31 2013 - 04:43:01 EST


From: Cong Wang <xiyou.wangcong@xxxxxxxxx>
Date: Fri, 31 May 2013 11:23:11 +0800

> On Fri, May 31, 2013 at 9:27 AM, Matthias Schiffer
> <mschiffer@xxxxxxxxxxxxxxxxxxxx> wrote:
>> Since some refactoring in 5f5a011, ndisc_send_redirect called
>> ndisc_fill_redirect_hdr_option on the wrong skb, leading to data corruption or
>> in the worst case a panic when the skb_put failed.
>>
>> Signed-off-by: Matthias Schiffer <mschiffer@xxxxxxxxxxxxxxxxxxxx>
>
>
> Good catch!
>
> Reviewed-by: Cong Wang <xiyou.wangcong@xxxxxxxxx>

I've queued this up for -stable.
--
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/