HomeFreeBSD

cxgbe tom: Free pending iSCSI mbufs on connection shutdown.

Description

cxgbe tom: Free pending iSCSI mbufs on connection shutdown.

If an iSCSI connection is shutdown abruptly (e.g. by a RST from the
peer), pending iSCSI PDUs and page pod work requests can be in the
ulp_pduq when the final CPL is received indicating the death of the
connection.

Reported by: Jithesh Arakkan @ Chelsio

(cherry picked from commit 677cb9722a64d3f944d3e374e0ef1bb0e45644b5)

Details

Provenance
jhbAuthored on May 21 2021, 12:16 AM
Parents
rG0695b57a9875: cxgbei: Fix a race between transfer setup and a peer reset.
Branches
Unknown
Tags
Unknown