We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e432c04 commit 340b940Copy full SHA for 340b940
drivers/infiniband/core/cm.c
@@ -1522,6 +1522,7 @@ int ib_send_cm_req(struct ib_cm_id *cm_id,
1522
id.local_id);
1523
if (IS_ERR(cm_id_priv->timewait_info)) {
1524
ret = PTR_ERR(cm_id_priv->timewait_info);
1525
+ cm_id_priv->timewait_info = NULL;
1526
goto out;
1527
}
1528
@@ -2114,6 +2115,7 @@ static int cm_req_handler(struct cm_work *work)
2114
2115
2116
2117
2118
2119
goto destroy;
2120
2121
cm_id_priv->timewait_info->work.remote_id = cm_id_priv->id.remote_id;
0 commit comments