Source-Changes-HG archive

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

[src/trunk]: src/sys/net Improve wording in comments: replace "chain" with "q...



details:   https://anonhg.NetBSD.org/src/rev/7f919ef2d598
branches:  trunk
changeset: 446707:7f919ef2d598
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Dec 15 07:38:58 2018 +0000

description:
Improve wording in comments: replace "chain" with "queue" for
sequence of mbuf's connected by m_nextpkt, in order to avoid
confusion with those connected by m_next.

No binary changes.

diffstat:

 sys/net/ether_sw_offload.c |  6 +++---
 sys/net/if_bridge.c        |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 33ab30195f3d -r 7f919ef2d598 sys/net/ether_sw_offload.c
--- a/sys/net/ether_sw_offload.c        Sat Dec 15 07:29:44 2018 +0000
+++ b/sys/net/ether_sw_offload.c        Sat Dec 15 07:38:58 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ether_sw_offload.c,v 1.5 2018/12/15 07:29:44 rin Exp $ */
+/*     $NetBSD: ether_sw_offload.c,v 1.6 2018/12/15 07:38:58 rin Exp $ */
 
 /*
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ether_sw_offload.c,v 1.5 2018/12/15 07:29:44 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ether_sw_offload.c,v 1.6 2018/12/15 07:38:58 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -71,7 +71,7 @@
  * Handle TX offload in software. For TSO, split the packet into
  * chanks with payloads of size MSS. For chekcsum offload, update
  * required checksum fields. The results are more than one packet
- * in general. Return a mbuf chain consists of them.
+ * in general. Return a mbuf queue consists of them.
  */
 
 struct mbuf *
diff -r 33ab30195f3d -r 7f919ef2d598 sys/net/if_bridge.c
--- a/sys/net/if_bridge.c       Sat Dec 15 07:29:44 2018 +0000
+++ b/sys/net/if_bridge.c       Sat Dec 15 07:38:58 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bridge.c,v 1.162 2018/12/14 12:27:22 martin Exp $   */
+/*     $NetBSD: if_bridge.c,v 1.163 2018/12/15 07:38:58 rin Exp $      */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.162 2018/12/14 12:27:22 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.163 2018/12/15 07:38:58 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_bridge_ipf.h"
@@ -1566,7 +1566,7 @@
                /*
                 * Handle TX offload in software. For TSO, a packet is
                 * split into multiple chunks. Thus, the return value of
-                * ether_sw_offload_tx() is mbuf chain consists of them.
+                * ether_sw_offload_tx() is mbuf queue consists of them.
                 */
                m = ether_sw_offload_tx(ifp, m);
                if (m == NULL)



Home | Main Index | Thread Index | Old Index