iw_cxgbe: Shut down the socket but do not close the fd in case of error.
The fd is closed later in this case. This fixes a "SS_NOFDREF on enter" panic. Submitted by: Krishnamraju Eraparaju @ Chelsio Reviewed by: Steve Wise @ Open Grid Computing
This commit is contained in:
parent
91c4e15931
commit
8a0a03500d
@ -474,7 +474,7 @@ process_conn_error(struct c4iw_ep *ep)
|
||||
if (state != ABORTING) {
|
||||
|
||||
CTR2(KTR_IW_CXGBE, "%s:pce1 %p", __func__, ep);
|
||||
close_socket(&ep->com, 1);
|
||||
close_socket(&ep->com, 0);
|
||||
state_set(&ep->com, DEAD);
|
||||
c4iw_put_ep(&ep->com);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user