Re: [PATCH net] net: ipv6: rpl_iptunnel: Fix memory leak in rpl_input

From: Simon Horman
Date: Thu Sep 12 2024 - 06:42:47 EST


On Wed, Sep 11, 2024 at 07:45:57PM +0200, Justin Iurman wrote:
> Free the skb before returning from rpl_input when skb_cow_head() fails.
> Use a "drop" label and goto instructions.
>
> Fixes: a7a29f9c361f ("net: ipv6: add rpl sr tunnel")
> Signed-off-by: Justin Iurman <justin.iurman@xxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>

...