Re: [External] Re: [PATCH] nvme-rdma: handle nvme completion data length

2020-10-22 Thread Chao Leng
On 2020/10/22 18:05, zhenwei pi wrote: On 10/22/20 5:55 PM, Chao Leng wrote: On 2020/10/22 16:38, zhenwei pi wrote: Hit a kernel warning: refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 0 at lib/refcount.c:28 RIP: 0010:refcount_warn_saturate+0xd9/0xe0 Call Trace:    

Re: [External] Re: [PATCH] nvme-rdma: handle nvme completion data length

2020-10-22 Thread zhenwei pi
On 10/22/20 5:55 PM, Chao Leng wrote: On 2020/10/22 16:38, zhenwei pi wrote: Hit a kernel warning: refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 0 at lib/refcount.c:28 RIP: 0010:refcount_warn_saturate+0xd9/0xe0 Call Trace:     nvme_rdma_recv_done+0xf3/0x280 [nvme_rdma]  

Re: [PATCH] nvme-rdma: handle nvme completion data length

2020-10-22 Thread Chao Leng
On 2020/10/22 16:38, zhenwei pi wrote: Hit a kernel warning: refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 0 at lib/refcount.c:28 RIP: 0010:refcount_warn_saturate+0xd9/0xe0 Call Trace: nvme_rdma_recv_done+0xf3/0x280 [nvme_rdma] __ib_process_cq+0x76/0x150 [ib_core] ...

[PATCH] nvme-rdma: handle nvme completion data length

2020-10-22 Thread zhenwei pi
Hit a kernel warning: refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 0 at lib/refcount.c:28 RIP: 0010:refcount_warn_saturate+0xd9/0xe0 Call Trace: nvme_rdma_recv_done+0xf3/0x280 [nvme_rdma] __ib_process_cq+0x76/0x150 [ib_core] ... The reason is that a zero bytes message