[lkml]   [2007]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 6/6] iw_cxgb3: Don't abort after failures sending the mpa reply.

    iw_cxgb3: Don't abort after failures sending the mpa reply.

    This bug results in an abort request being sent down _after_ the tid
    has been released. If the tid happens to have been reused, then the
    subsequent generation of the tid gets incorrectly aborted.

    The thread running iwch_accecpt_cr() must not abort a connection if an
    error is returned after being awakened. If any errors did occur while
    iwch_accept_cr() is blocked, then the connection has already been aborted
    on the thread processing the error.

    Signed-off-by: Steve Wise <>

    drivers/infiniband/hw/cxgb3/iwch_cm.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infiniband/hw/cxgb3/iwch_cm.c
    index 228721f..3b41dc0 100644
    --- a/drivers/infiniband/hw/cxgb3/iwch_cm.c
    +++ b/drivers/infiniband/hw/cxgb3/iwch_cm.c
    @@ -1781,7 +1781,6 @@ err:
    ep->com.cm_id = NULL;
    ep->com.qp = NULL;
    - abort_connection(ep, NULL, GFP_KERNEL);
    return err;
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2007-06-27 17:55    [W:0.018 / U:20.572 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site