Re: [PATCH] RDMA/rxe: Process received packets in time

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

 



On 2022/7/4 22:23, yangx.jy@xxxxxxxxxxx wrote:
> On 2022/7/4 20:55, Jason Gunthorpe wrote:
>> On Sun, Jul 03, 2022 at 11:56:25PM +0800, Xiao Yang wrote:
>>> If received packets (i.e. skb) stored in qp->resp_pkts
>>> cannot be processed in time, they may be ovewritten/reused
>>> and then lead to abnormal behavior.
>>
>> I just merged a bunch of fixed from Bob on atomics, do they solve this
>> problem too by chance?
> Hi Jason,
> 
> Do you mean that I should use RDMA for-next branch to confirm the issue?
> 
> I don't think Bob's patches can solve this problem by chance, but I will
> use RDMA for-next branch to test the issue on my slow vm.
Hi Jason,

I confirmed that the following patch avoided this issue on my slow vm.
commit dc1848388137d20e5786b976caa49a26889f36f3
Author: Bob Pearson <rpearsonhpe@xxxxxxxxx>
Date:   Mon Jun 6 09:38:37 2022 -0500

     RDMA/rxe: Merge normal and retry atomic flows

I think this issue is related to res->atomic.skb which has been removed 
by the patch. However I am still confused about why res->atomic.skb will 
be overwritten/reused as my commit message described.

Best Regards,
Xiao Yang
> 
> Best Regards,
> Xiao Yang
>>
>> Jason




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux