Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet Remove confusable comment.



details:   https://anonhg.NetBSD.org/src/rev/601722c0e6da
branches:  trunk
changeset: 368184:601722c0e6da
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Mon Jun 27 01:29:51 2022 +0000

description:
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.

diffstat:

 sys/netinet/tcp_subr.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 1f77f64469ce -r 601722c0e6da sys/netinet/tcp_subr.c
--- a/sys/netinet/tcp_subr.c    Mon Jun 27 00:34:24 2022 +0000
+++ b/sys/netinet/tcp_subr.c    Mon Jun 27 01:29:51 2022 +0000
@@ -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 @@
                }
                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)



Home | Main Index | Thread Index | Old Index