summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2023-06-26 12:36:48 +0300
committerDavid S. Miller <davem@davemloft.net>2023-06-26 12:36:48 +0300
commit771ca3de25028c477332bf8b8c2db3a4dd769de2 (patch)
tree44fbe8c85414c887dc2bd65546b806aa08b50b89 /include/net
parent9ae440b8fdd6772b6c007fa3d3766530a09c9045 (diff)
parent1186c6b31ee14fa1e83f5a94be0daa9bc99f9b30 (diff)
downloadlinux-771ca3de25028c477332bf8b8c2db3a4dd769de2.tar.xz
Merge branch 'sfc-next'
Edward Cree says: ==================== sfc: fix unaligned access in loopback selftests Arnd reported that the sfc drivers each define a packed loopback_payload structure with an ethernet header followed by an IP header, whereas the kernel definition of iphdr specifies that this is 4-byte aligned, causing a W=1 warning. Fix this in each case by adding two bytes of leading padding to the struct, taking care that these are not sent on the wire. Tested on EF10; build-tested on Siena and Falcon. Changed in v2: * added __aligned(4) to payload struct definitions (Arnd) * fixed dodgy whitespace (checkpatch) ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions