[PATCH RFC 2/5] tls: build proto after context has been initialized

Chuck Lever III chuck.lever at oracle.com
Mon Apr 25 10:51:17 PDT 2022



> On Apr 25, 2022, at 1:11 PM, Jakub Kicinski <kuba at kernel.org> wrote:
> 
> On Mon, 18 Apr 2022 12:49:36 -0400 Chuck Lever wrote:
>> From: Hannes Reinecke <hare at suse.de>
>> 
>> We have to build the proto ops only after the context has been
>> initialized, as otherwise we might crash when I/O is ongoing
>> during initialisation.
> 
> Can you say more about the crash you see? protos are not used until 
> at least one socket calls update_sk_prot().

Hannes reported the crash and supplied the fix. I didn't have a
problem with this patch series without this patch. Hannes?



--
Chuck Lever






More information about the Linux-nvme mailing list