aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/bltin/(developers-only)
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2026-04-15 19:24:05 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2026-04-15 19:24:05 +0000
commit04b994d19eec68a6b5d27ff4b0fa223a05f00e1f (patch)
tree1b529e701adec89767e2f1af6d8b72d91fabc9cb /bin/sh/bltin/(developers-only)
parent92c69c791c436eb966fab806393b70e53cde6874 (diff)
bpf: fix handling the read timeout on ppc64HEADmain
On platforms other than amd64, BIOCSRTIMEOUT is equal to BIOCSRTIMEOUT32. Therefore, running the COMPAT_FREEBSD32 code basically clears tv_usec on big endian platforms. When tcpdump is used, the timeout requested is 100ms, which gets cleared to 0 on ppc64 platforms. This results in tcpdump showing the packets only when the read buffer is full. Thanks to kib for guiding me to the correct fix. Reported by: ivy Reviewed by: adrian, kib MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D56399
Diffstat (limited to 'bin/sh/bltin/(developers-only)')
0 files changed, 0 insertions, 0 deletions