git: 08d157a8321c - main - Fix dtrace SDT probe tcp:::debug-input
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Dec 2021 02:19:39 UTC
The branch main has been updated by rew:
URL: https://cgit.FreeBSD.org/src/commit/?id=08d157a8321c845dad9f2d6eecea07639a23411a
commit 08d157a8321c845dad9f2d6eecea07639a23411a
Author: Robert Wing <rew@FreeBSD.org>
AuthorDate: 2021-12-21 02:15:43 +0000
Commit: Robert Wing <rew@FreeBSD.org>
CommitDate: 2021-12-21 02:15:43 +0000
Fix dtrace SDT probe tcp:::debug-input
The tcp:::debug-input probe is passed an mbuf pointer, use the correct
translator for ipinfo_t when defining tcp:::debug-input.
Fixes: 82988b50a17c ("Add an mbuf to ipinfo_t translator to finish ...")
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D33066
---
sys/netinet/in_kdtrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/in_kdtrace.c b/sys/netinet/in_kdtrace.c
index 2cb6748eacdb..a7314a27dbac 100644
--- a/sys/netinet/in_kdtrace.c
+++ b/sys/netinet/in_kdtrace.c
@@ -111,7 +111,7 @@ SDT_PROBE_DEFINE1_XLATE(tcp, , , siftr,
SDT_PROBE_DEFINE3_XLATE(tcp, , , debug__input,
"struct tcpcb *", "tcpsinfo_t *" ,
"struct tcphdr *", "tcpinfoh_t *",
- "uint8_t *", "ipinfo_t *");
+ "struct mbuf *", "ipinfo_t *");
SDT_PROBE_DEFINE3_XLATE(tcp, , , debug__output,
"struct tcpcb *", "tcpsinfo_t *" ,