On 4 Jan 2017, at 13:26, Mark Johnston wrote:

On Wed, Jan 04, 2017 at 02:19:13AM +0000, George V. Neville-Neil wrote:
Author: gnn
Date: Wed Jan  4 02:19:13 2017
New Revision: 311225
URL: https://svnweb.freebsd.org/changeset/base/311225

Log:
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.

I think you also need to update the types in in_kdtrace.c, and add a
translator for struct mbuf * to ipinfo_t.

Fair points.

Best,
George
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to