• Faisal Latif's avatar
    RDMA/nes: Fix double CLOSE event indication crash · dae58728
    Faisal Latif authored
    During a stress testing in a large cluster, multiple close event are
    detected and BUG() is hit in the iWARP core.  The cause is that the
    active node gave up while waiting for an MPA response from the peer
    and tried to close the connection by sending RST.  The passive node
    driver receives the RST but is waiting for MPA response from the user.
    When the MPA accept is received, the driver offloads the connection
    and sends a CLOSE event.  The driver gets an AE indicating RESET
    received and also sends a CLOSE event, hitting a BUG().
    
    Fix this by correcting RESET handling and sending CLOSE events.
    Signed-off-by: default avatarFaisal Latif <faisal.latif@intel.com>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    dae58728
nes_cm.c 101 KB