git: d5ffa4b1a459 - stable/13 - siftr: provide dtrace with the correct pointer to data
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Jan 2024 08:57:58 UTC
The branch stable/13 has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=d5ffa4b1a45943ca55740bc51df1f0912c953c22
commit d5ffa4b1a45943ca55740bc51df1f0912c953c22
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2023-06-30 20:03:04 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2024-01-11 08:57:38 +0000
siftr: provide dtrace with the correct pointer to data
This fixes a bug which was introduced in the commit
https://svnweb.freebsd.org/changeset/base/282276
Reviewed by: cc, rscheff
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D40806
(cherry picked from commit dc2d26df43cb69c9c4d8802220af2da929bc1dce)
---
sys/netinet/siftr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/siftr.c b/sys/netinet/siftr.c
index 643c484b07ff..7ec19ecc875a 100644
--- a/sys/netinet/siftr.c
+++ b/sys/netinet/siftr.c
@@ -812,7 +812,7 @@ siftr_siftdata(struct pkt_node *pn, struct inpcb *inp, struct tcpcb *tp,
* maximum pps throughput processing when SIFTR is loaded and enabled.
*/
microtime(&pn->tval);
- TCP_PROBE1(siftr, &pn);
+ TCP_PROBE1(siftr, pn);
}