projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: mt7620: remove unnecessary usb packages
[oweals/openwrt.git]
/
target
/
linux
/
ath79
/
patches-4.14
/
910-unaligned_access_hacks.patch
diff --git
a/target/linux/ath79/patches-4.14/910-unaligned_access_hacks.patch
b/target/linux/ath79/patches-4.14/910-unaligned_access_hacks.patch
index 41e58ce8c60cae6b2821e5507af1e2776fc80124..5dec120b03de18d7429d3b979214e4f664e77553 100644
(file)
--- a/
target/linux/ath79/patches-4.14/910-unaligned_access_hacks.patch
+++ b/
target/linux/ath79/patches-4.14/910-unaligned_access_hacks.patch
@@
-303,7
+303,7
@@
#endif /* _LINUX_TYPES_H */
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
#endif /* _LINUX_TYPES_H */
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
-@@ -135
1,8 +1351
,8 @@ struct sk_buff **inet_gro_receive(struct
+@@ -135
2,8 +1352
,8 @@ struct sk_buff **inet_gro_receive(struct
if (unlikely(ip_fast_csum((u8 *)iph, 5)))
goto out_unlock;
if (unlikely(ip_fast_csum((u8 *)iph, 5)))
goto out_unlock;
@@
-556,7
+556,7
@@
goto next_ht;
--- a/net/ipv6/ip6_offload.c
+++ b/net/ipv6/ip6_offload.c
goto next_ht;
--- a/net/ipv6/ip6_offload.c
+++ b/net/ipv6/ip6_offload.c
-@@ -22
0,7 +220
,7 @@ static struct sk_buff **ipv6_gro_receive
+@@ -22
1,7 +221
,7 @@ static struct sk_buff **ipv6_gro_receive
continue;
iph2 = (struct ipv6hdr *)(p->data + off);
continue;
iph2 = (struct ipv6hdr *)(p->data + off);
@@
-610,7
+610,7
@@
#define IP6_MF 0x0001
#define IP6_OFFSET 0xFFF8
#define IP6_MF 0x0001
#define IP6_OFFSET 0xFFF8
-@@ -4
44,8 +444
,8 @@ static inline void __ipv6_addr_set_half(
+@@ -4
37,8 +437
,8 @@ static inline void __ipv6_addr_set_half(
}
#endif
#endif
}
#endif
#endif
@@
-621,7
+621,7
@@
}
static inline void ipv6_addr_set(struct in6_addr *addr,
}
static inline void ipv6_addr_set(struct in6_addr *addr,
-@@ -
504,6 +504
,8 @@ static inline bool ipv6_prefix_equal(con
+@@ -
497,6 +497
,8 @@ static inline bool ipv6_prefix_equal(con
const __be32 *a1 = addr1->s6_addr32;
const __be32 *a2 = addr2->s6_addr32;
unsigned int pdw, pbi;
const __be32 *a1 = addr1->s6_addr32;
const __be32 *a2 = addr2->s6_addr32;
unsigned int pdw, pbi;
@@
-630,7
+630,7
@@
/* check complete u32 in prefix */
pdw = prefixlen >> 5;
/* check complete u32 in prefix */
pdw = prefixlen >> 5;
-@@ -5
12,7 +514
,9 @@ static inline bool ipv6_prefix_equal(con
+@@ -5
05,7 +507
,9 @@ static inline bool ipv6_prefix_equal(con
/* check incomplete u32 in prefix */
pbi = prefixlen & 0x1f;
/* check incomplete u32 in prefix */
pbi = prefixlen & 0x1f;
@@
-641,7
+641,7
@@
return false;
return true;
return false;
return true;
-@@ -6
56,13 +660
,13 @@ static inline void ipv6_addr_set_v4mappe
+@@ -6
34,13 +638
,13 @@ static inline void ipv6_addr_set_v4mappe
*/
static inline int __ipv6_addr_diff32(const void *token1, const void *token2, int addrlen)
{
*/
static inline int __ipv6_addr_diff32(const void *token1, const void *token2, int addrlen)
{
@@
-657,7
+657,7
@@
if (xb)
return i * 32 + 31 - __fls(ntohl(xb));
}
if (xb)
return i * 32 + 31 - __fls(ntohl(xb));
}
-@@ -8
31,17 +835
,18 @@ static inline int ip6_default_np_autolab
+@@ -8
09,17 +813
,18 @@ static inline int ip6_default_np_autolab
static inline void ip6_flow_hdr(struct ipv6hdr *hdr, unsigned int tclass,
__be32 flowlabel)
{
static inline void ip6_flow_hdr(struct ipv6hdr *hdr, unsigned int tclass,
__be32 flowlabel)
{