]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r314814 and r315325.
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 23 Mar 2017 20:23:00 +0000 (20:23 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 23 Mar 2017 20:23:00 +0000 (20:23 +0000)
commitb77450f910845c55a44e97529ee6a2ec918c3691
treee81197be2db7612fc60688dea31e624783ef8c8f
parent2d6043fe1a0fb5cffbd29469ab598cae89c14294
MFC r314814 and r315325.

r314814:
cxgbe/iw_cxgbe: Abort connection if there is an error during c4iw_modify_qp.

r315325:
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@315868 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/cxgbe/iw_cxgbe/qp.c