Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
Show First 20 Lines • Show All 1,147 Lines • ▼ Show 20 Lines | no_ddp: | ||||
return (0); | return (0); | ||||
} | } | ||||
void | void | ||||
icl_cxgbei_conn_transfer_done(struct icl_conn *ic, void *arg) | icl_cxgbei_conn_transfer_done(struct icl_conn *ic, void *arg) | ||||
{ | { | ||||
struct ctl_scsiio *ctsio = arg; | struct ctl_scsiio *ctsio = arg; | ||||
if (ctsio != NULL && ctsio->kern_data_len == ctsio->ext_data_filled) { | if (ctsio != NULL && (ctsio->kern_data_len == ctsio->ext_data_filled || | ||||
ic->ic_disconnecting)) { | |||||
struct ppod_reservation *prsv; | struct ppod_reservation *prsv; | ||||
prsv = io_to_ppod_reservation(ctsio); | prsv = io_to_ppod_reservation(ctsio); | ||||
MPASS(prsv != NULL); | MPASS(prsv != NULL); | ||||
t4_free_page_pods(prsv); | t4_free_page_pods(prsv); | ||||
uma_zfree(prsv_zone, prsv); | uma_zfree(prsv_zone, prsv); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |