git: dc2d26df43cb - main - siftr: provide dtrace with the correct pointer to data
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 20:15:09 UTC
The branch main has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=dc2d26df43cb69c9c4d8802220af2da929bc1dce
commit dc2d26df43cb69c9c4d8802220af2da929bc1dce
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2023-06-30 20:03:04 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2023-06-30 20:03:04 +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
MFC after: 3 days
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D40806
---
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 cbcd2b2ead42..930ba6365f26 100644
--- a/sys/netinet/siftr.c
+++ b/sys/netinet/siftr.c
@@ -667,7 +667,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);
}
/*