HomeFreeBSD

Fix DTrace TCP tracepoints to not use mtod() as it is both unnecessary and

Description

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.

PR: 203409
Reviewed by: hiren
MFC after: 1 week
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D9035

Details

Provenance
gnnAuthored on
Reviewer
hiren
Differential Revision
D9035: Protect calls to mtod() from accessing NULL mbufs
Parents
rS311224: Fix PMC architecture check to handle later IPAs including Skylake
Branches
Unknown
Tags
Unknown