Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2019 00:46:33 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355156 - head/sys/contrib/ipfilter/netinet
Message-ID:  <201911280046.xAS0kX7d063546@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Nov 28 00:46:33 2019
New Revision: 355156
URL: https://svnweb.freebsd.org/changeset/base/355156

Log:
  Include fin, the packet information structure (fr_info_t), in the
  l4sums DTrace probe, making more information available for the diagnosis
  of IPv6 checksum errors.
  
  MFC after:	3 days

Modified:
  head/sys/contrib/ipfilter/netinet/fil.c

Modified: head/sys/contrib/ipfilter/netinet/fil.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/fil.c	Thu Nov 28 00:46:03 2019	(r355155)
+++ head/sys/contrib/ipfilter/netinet/fil.c	Thu Nov 28 00:46:33 2019	(r355156)
@@ -6742,7 +6742,7 @@ ipf_checkl4sum(fin)
 		FR_DEBUG(("checkl4sum: %hx != %hx\n", sum, hdrsum));
 	}
 #endif
-	DT2(l4sums, u_short, hdrsum, u_short, sum);
+	DT3(l4sums, u_short, hdrsum, u_short, sum, fr_info_t *, fin);
 #ifdef USE_INET6
 	if (hdrsum == sum || (sum == 0 && fin->fin_p == IPPROTO_ICMPV6)) {
 #else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911280046.xAS0kX7d063546>