]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: 311225, 311243, 313045
authorgnn <gnn@FreeBSD.org>
Thu, 30 Mar 2017 02:38:30 +0000 (02:38 +0000)
committergnn <gnn@FreeBSD.org>
Thu, 30 Mar 2017 02:38:30 +0000 (02:38 +0000)
commit5d1e46a0803ec1a7882e80016c9ebfc55350f7d2
tree0eb7d54364e3262ea47989e3345bfae6f974c789
parent3b73956452f3e6b0a89b5a700a7268ad7d7f25e7
MFC: 311225, 311243, 313045

Fix DTrace TCP tracepoints to not use mtod() as it is both unnecessary and
dangerous.  Those wanting data from an mbuf should use DTrace itself to get
the data.

Add an mbuf to ipinfo_t translator to finish cleanup of mbuf passing to TCP probes.
cddl/lib/libdtrace/ip.d
sys/netinet/in_kdtrace.c
sys/netinet/tcp_input.c
sys/netinet/tcp_output.c
sys/netinet/tcp_stacks/fastpath.c
sys/netinet/tcp_subr.c