From: Jakub Kicinski <jakub.kicin...@netronome.com>
Date: Wed, 29 May 2019 16:33:23 -0700

> af_inet sets sock->sk to NULL which trips strparser over:
 ...
> To avoid this issue set sock->sk after sk_prot->close.
> My grepping and testing did not discover any code which
> would depend on the current behaviour.
> 
> Fixes: c46234ebb4d1 ("tls: RX path for ktls")
> Reported-by: David Beckett <david.beck...@netronome.com>
> Signed-off-by: Jakub Kicinski <jakub.kicin...@netronome.com>
> Reviewed-by: Dirk van der Merwe <dirk.vanderme...@netronome.com>
> ---
> We probably want to hold off on stable with this one :)

Ok, applied.  Will hold off on -stable :)

I only worry about sk visibility after whatever close does.

Reply via email to