]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libdtrace: Fix TCP data offset handling in the tcpinfo_t translator
authorMark Johnston <markj@FreeBSD.org>
Mon, 1 Jan 2024 21:33:30 +0000 (16:33 -0500)
committerMark Johnston <markj@FreeBSD.org>
Mon, 1 Jan 2024 23:03:54 +0000 (18:03 -0500)
commitc3268c23de45b75b44102a02e96f44b0ff2f6ba7
tree09a3f841d08e49fa4cbe202a642be337c27d5e3d
parent09af4bf2c987f6f57804162cef8aeee05575ad1d
libdtrace: Fix TCP data offset handling in the tcpinfo_t translator

The header gives an offset in 32-bit words, and the translator is
supposed to convert that to a byte count.  But, the conversion was
incorrect.

Reviewed by: tuexen, rscheff
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43264
cddl/lib/libdtrace/tcp.d