Re: [PATCH net] ipv6: sr: fix double free of skb after handling invalid SRH

2017-04-21 Thread David Miller
From: David Lebrun Date: Wed, 19 Apr 2017 16:10:19 +0200 > The icmpv6_param_prob() function already does a kfree_skb(), > this patch removes the duplicate one. > > Fixes: 1ababeba4a21f3dba3da3523c670b207fb2feb62 ("ipv6: implement dataplane > support for rthdr type 4 (Segment Routing Header)") >

[PATCH net] ipv6: sr: fix double free of skb after handling invalid SRH

2017-04-19 Thread David Lebrun
The icmpv6_param_prob() function already does a kfree_skb(), this patch removes the duplicate one. Fixes: 1ababeba4a21f3dba3da3523c670b207fb2feb62 ("ipv6: implement dataplane support for rthdr type 4 (Segment Routing Header)") Reported-by: Dan Carpenter Cc: Dan Carpenter Signed-off-by: David Le