kernel: bump 5.10 to 5.10.210
[openwrt/openwrt.git] / target / linux / ath79 / patches-5.10 / 910-unaligned_access_hacks.patch
index 94cd779eb0980689bcc3e7157ea242c1101c9c82..2a7ea0e1c2af1928489c877bf9f6f20b744b5eb9 100644 (file)
@@ -42,7 +42,7 @@
        } while (word != stop);
  
        return csum_fold(csum);
-@@ -180,73 +184,6 @@ static inline __sum16 ip_compute_csum(co
+@@ -180,74 +184,6 @@ static inline __sum16 ip_compute_csum(co
        return csum_fold(csum_partial(buff, len, 0));
  }
  
 -      "       .set    pop"
 -      : "=&r" (sum), "=&r" (tmp)
 -      : "r" (saddr), "r" (daddr),
--        "0" (htonl(len)), "r" (htonl(proto)), "r" (sum));
+-        "0" (htonl(len)), "r" (htonl(proto)), "r" (sum)
+-      : "memory");
 -
 -      return csum_fold(sum);
 -}
  #endif /* _LINUX_TYPES_H */
 --- a/net/ipv4/af_inet.c
 +++ b/net/ipv4/af_inet.c
-@@ -1471,8 +1471,8 @@ struct sk_buff *inet_gro_receive(struct
+@@ -1474,8 +1474,8 @@ struct sk_buff *inet_gro_receive(struct
        if (unlikely(ip_fast_csum((u8 *)iph, 5)))
                goto out_unlock;