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

From: Jakub Kicinski
Date: Tue Nov 16 2021 - 14:33:31 EST


On Tue, 16 Nov 2021 11:32:32 -0800 Jakub Kicinski wrote:
> On Fri, 12 Nov 2021 21:42:11 -0800 Tadeusz Struk wrote:
> > On 11/12/21 20:13, Jakub Kicinski wrote:
> > [...]
> [...]
> > > 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.

Ah, I hit reply on the wrong sub-thread, this was meant for the "any
feedback question".