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
This commit is contained in:
parent
8dd74db753
commit
81c2e8a6f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355156
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user