Re: [PATCH] tipc: check for null after calling kmemdup

From: Jakub Kicinski
Date: Tue Nov 16 2021 - 14:32:41 EST


On Fri, 12 Nov 2021 21:42:11 -0800 Tadeusz Struk wrote:
> On 11/12/21 20:13, Jakub Kicinski wrote:
> [...]
> >> Acked-by: Jon Maloy<jmaloy@xxxxxxxxxx>
> > Hm, shouldn't we free all the tfm entries here?
>
> Right, I think we just need to call tipc_aead_free(&tmp->rcu);
> here and return an error.

Would be good to get an ack From Jon or Ying on that one.