Re: [PATCH] net: rds: Fix possible null-pointer dereferences in rds_rdma_cm_event_handler_cmn()

2019-07-27 Thread David Miller
From: Jia-Ju Bai Date: Fri, 26 Jul 2019 22:17:05 +0800 > In rds_rdma_cm_event_handler_cmn(), there are some if statements to > check whether conn is NULL, such as on lines 65, 96 and 112. > But conn is not checked before being used on line 108: > trans->cm_connect_complete(conn, event); >

Re: [PATCH] net: rds: Fix possible null-pointer dereferences in rds_rdma_cm_event_handler_cmn()

2019-07-26 Thread santosh . shilimkar
On 7/26/19 7:17 AM, Jia-Ju Bai wrote: In rds_rdma_cm_event_handler_cmn(), there are some if statements to check whether conn is NULL, such as on lines 65, 96 and 112. But conn is not checked before being used on line 108: trans->cm_connect_complete(conn, event); and on lines 140-143:

[PATCH] net: rds: Fix possible null-pointer dereferences in rds_rdma_cm_event_handler_cmn()

2019-07-26 Thread Jia-Ju Bai
In rds_rdma_cm_event_handler_cmn(), there are some if statements to check whether conn is NULL, such as on lines 65, 96 and 112. But conn is not checked before being used on line 108: trans->cm_connect_complete(conn, event); and on lines 140-143: rdsdebug("DISCONNECT event - dropping