diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2016-12-29 19:57:46 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2016-12-29 19:57:46 +0000 |
commit | 2e77d270c1bcf6a24dc17a8b27e844f36a8ddd54 (patch) | |
tree | 4d13f751b3c12d4ff8491fe50ae8451dd0f2cb5a /sys/netinet/ip_fastfwd.c | |
parent | 49fe3b378b90f0c5dcf8708232179146d693445f (diff) |
When we are sending IP fragments, update ip pointers in IP_PROBE() for
each fragment.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=310783
Diffstat (limited to 'sys/netinet/ip_fastfwd.c')
-rw-r--r-- | sys/netinet/ip_fastfwd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c index b4507a91b313..c0c618680b23 100644 --- a/sys/netinet/ip_fastfwd.c +++ b/sys/netinet/ip_fastfwd.c @@ -400,8 +400,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); |