Re: [PATCH net] rds: ib: Fix NULL pointer dereference in debug code

2017-11-09 Thread David Miller
From: Håkon Bugge Date: Tue, 7 Nov 2017 16:33:34 +0100 > rds_ib_recv_refill() is a function that refills an IB receive > queue. It can be called from both the CQE handler (tasklet) and a > worker thread. > > Just after the call to ib_post_recv(), a debug message is

Re: [PATCH net] rds: ib: Fix NULL pointer dereference in debug code

2017-11-07 Thread Santosh Shilimkar
On 11/7/2017 7:33 AM, Håkon Bugge wrote: rds_ib_recv_refill() is a function that refills an IB receive queue. It can be called from both the CQE handler (tasklet) and a worker thread. Just after the call to ib_post_recv(), a debug message is printed with rdsdebug(): ret =

[PATCH net] rds: ib: Fix NULL pointer dereference in debug code

2017-11-07 Thread Håkon Bugge
rds_ib_recv_refill() is a function that refills an IB receive queue. It can be called from both the CQE handler (tasklet) and a worker thread. Just after the call to ib_post_recv(), a debug message is printed with rdsdebug(): ret = ib_post_recv(ic->i_cm_id->qp, >r_wr, _wr);