Re: [PATCH] RDMA: Add rdma_connect_locked()

2020-10-27 Thread Jinpu Wang
On Mon, Oct 26, 2020 at 3:25 PM Jason Gunthorpe wrote: > > There are two flows for handling RDMA_CM_EVENT_ROUTE_RESOLVED, either the > handler triggers a completion and another thread does rdma_connect() or > the handler directly calls rdma_connect(). > > In all cases rdma_connect() needs to hold

Re: [PATCH]mlx4-core: fix possible use after free in cq_completion

2015-07-27 Thread Jinpu Wang
Hi Jack, Thanks for your reply, could you send me your PATCH, I can test it in our environment. please see comments inline. > > We have seen this problem, and have developed a fix for it. We will > be submitting the fix within the next few days (after final testing). > The fix utilizes rcu locki

Re: [PATCH]mlx4-core: fix possible use after free in cq_completion

2015-07-24 Thread Jinpu Wang
On Fri, Jul 24, 2015 at 10:18 AM, Jinpu Wang wrote: > Hi all, > > I hit bug in OFED, I report to link below: > > http://marc.info/?l=linux-rdma&m=143634872328553&w=2 > I checked latest mainline Linux 4.2-rc3, it has similar bug. > Here is the patch against Linux 4.2-

[PATCH]mlx4-core: fix possible use after free in cq_completion

2015-07-24 Thread Jinpu Wang
Hi all, I hit bug in OFED, I report to link below: http://marc.info/?l=linux-rdma&m=143634872328553&w=2 I checked latest mainline Linux 4.2-rc3, it has similar bug. Here is the patch against Linux 4.2-rc3, compile test only. I add one copy as attachment in case mail client break the patch format