git: bcc9518b98b3 - stable/13 - Fix dtrace SDT probe tcp:::debug-input
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Feb 2022 17:49:30 UTC
The branch stable/13 has been updated by rew:
URL: https://cgit.FreeBSD.org/src/commit/?id=bcc9518b98b3c6c7ac9d45dffd947592a5e9993a
commit bcc9518b98b3c6c7ac9d45dffd947592a5e9993a
Author: Robert Wing <rew@FreeBSD.org>
AuthorDate: 2021-12-21 02:15:43 +0000
Commit: Robert Wing <rew@FreeBSD.org>
CommitDate: 2022-02-23 17:47:40 +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
(cherry picked from commit 08d157a8321c845dad9f2d6eecea07639a23411a)
---
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 *" ,