aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/patches-5.15/910-unaligned_access_hacks.patch
diff options
context:
space:
mode:
authorJohn Audia <therealgraysky@proton.me>2022-11-26 06:51:56 -0500
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-27 13:18:29 +0100
commit590aa0ca515b3d9da06fe11d65f43d0dcf5b9cad (patch)
treeb8d0c8571b36a5029c9d3c82d2cb7f5a68986ac4 /target/linux/ath79/patches-5.15/910-unaligned_access_hacks.patch
parent6640c788feadbdde9ac80a66e6b24802ae021bd5 (diff)
downloadupstream-590aa0ca515b3d9da06fe11d65f43d0dcf5b9cad.tar.gz
upstream-590aa0ca515b3d9da06fe11d65f43d0dcf5b9cad.tar.bz2
upstream-590aa0ca515b3d9da06fe11d65f43d0dcf5b9cad.zip
kernel: bump 5.15 to 5.15.80
Manually rebase: pending-5.15/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch ath79/patches-5.15/910-unaligned_access_hacks.patch All other patches automatically rebased Build system: x86_64 Build-tested: bcm2711/RPi4B Run-tested: bcm2711/RPi4B Signed-off-by: John Audia <therealgraysky@proton.me>
Diffstat (limited to 'target/linux/ath79/patches-5.15/910-unaligned_access_hacks.patch')
-rw-r--r--target/linux/ath79/patches-5.15/910-unaligned_access_hacks.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ath79/patches-5.15/910-unaligned_access_hacks.patch b/target/linux/ath79/patches-5.15/910-unaligned_access_hacks.patch
index d284ceeaa7..d8f61de8eb 100644
--- a/target/linux/ath79/patches-5.15/910-unaligned_access_hacks.patch
+++ b/target/linux/ath79/patches-5.15/910-unaligned_access_hacks.patch
@@ -162,9 +162,9 @@ SVN-Revision: 35130
--- a/include/uapi/linux/ip.h
+++ b/include/uapi/linux/ip.h
-@@ -103,7 +103,7 @@ struct iphdr {
- __be32 saddr;
- __be32 daddr;
+@@ -105,7 +105,7 @@ struct iphdr {
+ __be32 daddr;
+ );
/*The options start here. */
-};
+} __attribute__((packed, aligned(2)));
@@ -173,10 +173,10 @@ SVN-Revision: 35130
struct ip_auth_hdr {
--- a/include/uapi/linux/ipv6.h
+++ b/include/uapi/linux/ipv6.h
-@@ -132,7 +132,7 @@ struct ipv6hdr {
-
- struct in6_addr saddr;
- struct in6_addr daddr;
+@@ -134,7 +134,7 @@ struct ipv6hdr {
+ struct in6_addr saddr;
+ struct in6_addr daddr;
+ );
-};
+} __attribute__((packed, aligned(2)));