kernel: backport eth_addr_add()
[openwrt/staging/hauke.git] / target / linux / ath79 / patches-5.10 / 910-unaligned_access_hacks.patch
index e1c5c59c14a9b4711b0c2a199a02a40ef6ad9d2c..05fe0c7b205960201d977747ee5a654f4448ca36 100644 (file)
@@ -833,7 +833,7 @@ SVN-Revision: 35130
                *sum = csum_fold(csum_partial(diff, sizeof(diff),
 --- a/include/linux/etherdevice.h
 +++ b/include/linux/etherdevice.h
-@@ -499,7 +499,7 @@ static inline bool is_etherdev_addr(cons
+@@ -513,7 +513,7 @@ static inline bool is_etherdev_addr(cons
   * @b: Pointer to Ethernet header
   *
   * Compare two Ethernet headers, returns 0 if equal.
@@ -842,7 +842,7 @@ SVN-Revision: 35130
   * aligned OR the platform can handle unaligned access.  This is the
   * case for all packets coming into netif_receive_skb or similar
   * entry points.
-@@ -522,11 +522,12 @@ static inline unsigned long compare_ethe
+@@ -536,11 +536,12 @@ static inline unsigned long compare_ethe
        fold |= *(unsigned long *)(a + 6) ^ *(unsigned long *)(b + 6);
        return fold;
  #else