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

From: Matthias Schiffer
Date: Fri Jun 07 2013 - 07:01:00 EST


On 05/31/2013 10:42 AM, David Miller wrote:
> 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.
>

I saw that this was marked as 'not applicable' in the patchwork - it
should still be applied to the net tree though. I hope my patch tag
'net/3.9' didn't cause any confusion, I meant net *and* 3.9.

Attachment: signature.asc
Description: OpenPGP digital signature