+15
−4
Loading
PDUs are enqueued on the send_queue in _tcp_write_pdu(), so when an error happens earlier, we need to make sure they're enqueued before calling pdu_write_done(). Also, while here, removed the underscore from _pdu_write_done(), as it wasn't necessary (there was no functions with the same name without the underscore). Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I6784baff13b6f1b85d21207c49b9045886a350c9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18766 Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>