alistair23-linux/include
Rasmus Villemoes dc090de854 net: mrp: fix definitions of MRP test packets
Wireshark says that the MRP test packets cannot be decoded - and the
reason for that is that there's a two-byte hole filled with garbage
between the "transitions" and "timestamp" members.

So Wireshark decodes the two garbage bytes and the top two bytes of
the timestamp written by the kernel as the timestamp value (which thus
fluctuates wildly), and interprets the lower two bytes of the
timestamp as a new (type, length) pair, which is of course broken.

Even though this makes the timestamp field in the struct unaligned, it
actually makes it end up on a 32 bit boundary in the frame as mandated
by the standard, since it is preceded by a two byte TLV header.

The struct definitions live under include/uapi/, but they are not
really part of any kernel<->userspace API/ABI, so fixing the
definitions by adding the packed attribute should not cause any
compatibility issues.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-01-23 12:34:20 -08:00
..
acpi
asm-generic arm64: make atomic helpers __always_inline 2021-01-13 15:09:06 +00:00
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm KVM: arm64: Replace KVM_ARM_PMU with HW_PERF_EVENTS 2021-01-04 16:50:16 +00:00
linux Networking fixes for 5.11-rc5, including fixes from bpf, wireless, 2021-01-20 11:52:21 -08:00
math-emu
media
memory
misc
net tcp: fix TCP socket rehash stats mis-accounting 2021-01-19 19:47:20 -08:00
pcmcia
ras
rdma
scsi
soc include/soc: remove headers for EZChip NPS 2021-01-05 12:59:41 -08:00
sound
target
trace SUNRPC: Move the svc_xdr_recvfrom tracepoint again 2021-01-13 09:13:20 -05:00
uapi net: mrp: fix definitions of MRP test packets 2021-01-23 12:34:20 -08:00
vdso
video
xen xen: Fix event channel callback via INTX/GSI 2021-01-13 16:12:00 +01:00