summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/netinet/ip_fastfwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/netinet/ip_fastfwd.c')
-rw-r--r--freebsd/sys/netinet/ip_fastfwd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/freebsd/sys/netinet/ip_fastfwd.c b/freebsd/sys/netinet/ip_fastfwd.c
index bc4d70b4..1d948781 100644
--- a/freebsd/sys/netinet/ip_fastfwd.c
+++ b/freebsd/sys/netinet/ip_fastfwd.c
@@ -402,8 +402,9 @@ passout:
*/
m_clrprotoflags(m);
- IP_PROBE(send, NULL, NULL, ip, nh.nh_ifp,
- ip, NULL);
+ IP_PROBE(send, NULL, NULL,
+ mtod(m, struct ip *), nh.nh_ifp,
+ mtod(m, struct ip *), NULL);
/* XXX: we can use cached route here */
error = (*nh.nh_ifp->if_output)(nh.nh_ifp, m,
(struct sockaddr *)&dst, NULL);