Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2019 21:00:30 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r355306 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet
Message-ID:  <201912022100.xB2L0UrE080683@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Mon Dec  2 21:00:29 2019
New Revision: 355306
URL: https://svnweb.freebsd.org/changeset/base/355306

Log:
  MFC r355156:
  
  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.

Modified:
  stable/12/sys/contrib/ipfilter/netinet/fil.c
Directory Properties:
  stable/12/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/contrib/ipfilter/netinet/fil.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/12/sys/contrib/ipfilter/netinet/fil.c
==============================================================================
--- stable/12/sys/contrib/ipfilter/netinet/fil.c	Mon Dec  2 20:58:55 2019	(r355305)
+++ stable/12/sys/contrib/ipfilter/netinet/fil.c	Mon Dec  2 21:00:29 2019	(r355306)
@@ -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?201912022100.xB2L0UrE080683>