kernel: bump 5.15 to 5.15.144
[openwrt/staging/stintel.git] / target / linux / ath79 / patches-5.15 / 900-unaligned_access_hacks.patch
index 13456e119e8c3c7dabc246495274383cd0635725..7bd6ae8b5606a9174615ef8c2e4cff3340644d07 100644 (file)
@@ -589,15 +589,15 @@ SVN-Revision: 35130
                 * XXX skbs on the gro_list have all been parsed and pulled
 --- a/include/net/addrconf.h
 +++ b/include/net/addrconf.h
-@@ -47,7 +47,7 @@ struct prefix_info {
+@@ -52,7 +52,7 @@ struct prefix_info {
        __be32                  reserved2;
  
        struct in6_addr         prefix;
 -};
 +} __attribute__((packed, aligned(2)));
  
- #include <linux/ipv6.h>
- #include <linux/netdevice.h>
+ /* rfc4861 4.6.2: IPv6 PIO is 32 bytes in size */
+ static_assert(sizeof(struct prefix_info) == 32);
 --- a/include/net/inet_ecn.h
 +++ b/include/net/inet_ecn.h
 @@ -138,9 +138,9 @@ static inline int IP6_ECN_set_ce(struct