svn commit: r353059 - head/usr.bin/netstat

John Baldwin jhb at FreeBSD.org
Thu Oct 3 18:24:42 UTC 2019


Author: jhb
Date: Thu Oct  3 18:24:41 2019
New Revision: 353059
URL: https://svnweb.freebsd.org/changeset/base/353059

Log:
  Restore description of packets dropped due to full reassembly queue.
  
  r265408 renamed tcps_rcvmemdrop to tcps_rcvreassfull and gave it a more
  specific description.  r279122 (libxo-ification) reverted that change.
  This commit brings it back, but with a small tweak to the description.
  
  MFC after:	2 weeks

Modified:
  head/usr.bin/netstat/inet.c

Modified: head/usr.bin/netstat/inet.c
==============================================================================
--- head/usr.bin/netstat/inet.c	Thu Oct  3 18:12:34 2019	(r353058)
+++ head/usr.bin/netstat/inet.c	Thu Oct  3 18:24:41 2019	(r353059)
@@ -640,8 +640,8 @@ tcp_stats(u_long off, const char *name, int af1 __unus
 	    "{N:/discarded for bad header offset field%s}\n");
 	p1a(tcps_rcvshort, "\t\t{:discard-too-short/%ju} "
 	    "{N:discarded because packet too short}\n");
-	p1a(tcps_rcvmemdrop, "\t\t{:discard-memory-problems/%ju} "
-	    "{N:discarded due to memory problems}\n");
+	p1a(tcps_rcvreassfull, "\t\t{:discard-reassembly-queue-full/%ju} "
+	    "{N:discarded due to full reassembly queue}\n");
 	p(tcps_connattempt, "\t{:connection-requests/%ju} "
 	    "{N:/connection request%s}\n");
 	p(tcps_accepts, "\t{:connections-accepts/%ju} "


More information about the svn-src-all mailing list