HomeFreeBSD

cxgbe/iw_cxgbe: Use the socket and not the toepcb to reach for the

Description

cxgbe/iw_cxgbe: Use the socket and not the toepcb to reach for the
inpcb. t4_tom detaches the inpcb from the toepcb as soon as the
hardware is done with the connection (in final_cpl_received) but the
socket is around as long as the cm_id and the rest of iWARP state is.

This fixes an intermittent NULL dereference during abort.

Submitted by: KrishnamRaju ErapaRaju @ Chelsio
MFC after: 3 days
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on
Parents
rS315324: [bhnd] fix mask for PMU control
Branches
Unknown
Tags
Unknown