Re: [PATCH net/3.9] ipv6: ndisc: fix ndisc_send_redirect writing tothe wrong skb

From: Cong Wang
Date: Thu May 30 2013 - 23:23:31 EST


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>
--
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/