Message ID | 20200424035843.5914-3-houpu@bytedance.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | iscsi-target: fix login error when receiving is too fast | expand |
Ho On 04/23/2020 08:59 PM, Hou Pu wrote: > 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 Thanks for the patch. Did you get a chance to run checkpatch.pl on this patch ?
On Fri, Apr 24, 2020 at 12:16 PM Chaitanya Kulkarni <Chaitanya.Kulkarni@wdc.com> wrote: > > Ho > > On 04/23/2020 08:59 PM, Hou Pu wrote: > > 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 > > Thanks for the patch. > > Did you get a chance to run checkpatch.pl on this patch ? Will fix it. Sorry for the stupid format error. Thanks, Hou
diff --git a/drivers/target/iscsi/iscsi_target_nego.c b/drivers/target/iscsi/iscsi_target_nego.c index 5292b6c51b4e..2fee1946fb7a 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: Hou Pu <houpu@bytedance.com> --- drivers/target/iscsi/iscsi_target_nego.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)