Re: [PATCH net-next] net: ipv6: rpl_iptunnel: Fix potential memory leak in rpl_do_srh_inline
From: David Miller
Date: Tue Mar 31 2020 - 13:13:15 EST
From: "Gustavo A. R. Silva" <gustavo@xxxxxxxxxxxxxx>
Date: Tue, 31 Mar 2020 11:35:06 -0500
> In case memory resources for buf were allocated, release them before
> return.
>
> Addresses-Coverity-ID: 1492011 ("Resource leak")
> Fixes: a7a29f9c361f ("net: ipv6: add rpl sr tunnel")
> Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
Applied, thanks.