Module Name: src
Committed By: rin
Date: Sat Dec 15 07:38:58 UTC 2018
Modified Files:
src/sys/net: ether_sw_offload.c if_bridge.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/net/ether_sw_offload.c
cvs rdiff -u -r1.162 -r1.163 src/sys/net/if_bridge.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/net/ether_sw_offload.c
diff -u src/sys/net/ether_sw_offload.c:1.5 src/sys/net/ether_sw_offload.c:1.6
--- src/sys/net/ether_sw_offload.c:1.5 Sat Dec 15 07:29:44 2018
+++ src/sys/net/ether_sw_offload.c Sat Dec 15 07:38:58 2018
@@ -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 @@ static struct timeval eso_err_lasttime;
* 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 *
Index: src/sys/net/if_bridge.c
diff -u src/sys/net/if_bridge.c:1.162 src/sys/net/if_bridge.c:1.163
--- src/sys/net/if_bridge.c:1.162 Fri Dec 14 12:27:22 2018
+++ src/sys/net/if_bridge.c Sat Dec 15 07:38:58 2018
@@ -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 @@ bridge_output(struct ifnet *ifp, struct
/*
* 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)