Message ID | 20200415080819.27327-3-houpu@bytedance.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | iscsi-target: fix login error when receiving is too fast | expand |
diff --git a/drivers/target/iscsi/iscsi_target_nego.c b/drivers/target/iscsi/iscsi_target_nego.c index 950339655778..56686e880d23 100644 --- a/drivers/target/iscsi/iscsi_target_nego.c +++ b/drivers/target/iscsi/iscsi_target_nego.c @@ -481,7 +481,7 @@ static bool __iscsi_target_sk_check_close(struct sock *sk) { if (sk->sk_state == TCP_CLOSE_WAIT || sk->sk_state == TCP_CLOSE) { pr_debug("__iscsi_target_sk_check_close: TCP_CLOSE_WAIT|TCP_CLOSE," - "returning FALSE\n"); + "returning TRUE\n"); return true; } return false;
Following commit changed the return value of __iscsi_target_sk_check_close. But the pr_debug is still printing FALSE when returing TRUE which is a little confusing. commit 25cdda95fda78d22d44157da15aa7ea34be3c804 Author: Nicholas Bellinger <nab@linux-iscsi.org> Date: Wed May 24 21:47:09 2017 -0700 iscsi-target: Fix initial login PDU asynchronous socket close OOPs Signed-off-by: Pu Hou <houpu@bytedance.com> --- drivers/target/iscsi/iscsi_target_nego.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)