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-26 Thread Jack Morgenstein
On Fri, 24 Jul 2015 10:18:48 +0200 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-rc3, compile test only. >

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

2015-07-24 Thread Or Gerlitz
On Fri, Jul 24, 2015 at 11:18 AM, Jinpu Wang wrote: > 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. Did you see the bug

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-rc3, compile test only. > > I a

[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