I don't see any problems that calling the callback during connect/login in iscsi_cancel_pdus(). So let's remove this check. Otherwise, we have no way to be aware of a cancellation during login and cause something like iscsi_login_sync() hangs. Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
21 KiB
21 KiB