Module Name: src
Committed By: knakahara
Date: Mon Jun 27 01:29:51 UTC 2022
Modified Files:
src/sys/netinet: tcp_subr.c
Log Message:
Remove confusable comment.
The comment was added in tcp_subr.c:r1.124 (2002/03/15).
tcp_drain() is called from softint context only, now.
To generate a diff of this commit:
cvs rdiff -u -r1.289 -r1.290 src/sys/netinet/tcp_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet/tcp_subr.c
diff -u src/sys/netinet/tcp_subr.c:1.289 src/sys/netinet/tcp_subr.c:1.290
--- src/sys/netinet/tcp_subr.c:1.289 Sat Jul 31 20:29:37 2021
+++ src/sys/netinet/tcp_subr.c Mon Jun 27 01:29:51 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_subr.c,v 1.289 2021/07/31 20:29:37 andvar Exp $ */
+/* $NetBSD: tcp_subr.c,v 1.290 2022/06/27 01:29:51 knakahara Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_subr.c,v 1.289 2021/07/31 20:29:37 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_subr.c,v 1.290 2022/06/27 01:29:51 knakahara Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1297,8 +1297,7 @@ tcp_drain(void)
}
if (tp != NULL) {
/*
- * We may be called from a device's interrupt
- * context. If the tcpcb is already busy,
+ * If the tcpcb is already busy,
* just bail out now.
*/
if (tcp_reass_lock_try(tp) == 0)