Re: [bpf-next PATCH v3 0/4] sockmap/ktls fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/02/2019 10:05 PM, John Fastabend wrote:
> On 4/30/19 7:06 PM, John Fastabend wrote:
>> Series of fixes for sockmap and ktls, see patches for descriptions.
>>
>> v2: fix build issue for CONFIG_TLS_DEVICE and fixup couple comments
>>     from Jakub
>>
>> v3: fix issue where release could call unhash resulting in a use after
>>     free. Now we detach the ulp pointer before calling into destroy
>>     or unhash. This way if we get a callback into unhash from destroy
>>     path there is no ulp to access. The fallout is we must pass the
>>     ctx into the functions rather than use the sk lookup in each
>>     routine. This is probably better anyways.
>>
>>     @Jakub, I did not fix the hw device case it seems the ulp ptr is
>>     needed for the hardware teardown but this is buggy for sure. Its
>>     not clear to me how to resolve the hw issue at the moment so fix
>>     the sw path why we discuss it.
>>
> Unfortunately, this is still failing with hardware offload (thanks
> Jakub) so will need a v4 to actually fix this.

Perhaps split off the skmsg fixes from the series so they can already
be applied since they should be independent of the tlx fix?

Thanks,
Daniel



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux