mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
kernel: bump 5.10 to 5.10.156 (#10498)
Manually rebased: ath79/patches-5.10/910-unaligned_access_hacks.patch All other patches automatically rebased. Co-authored-by: John Audia <therealgraysky@proton.me> Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
This commit is contained in:
parent
0b241584b5
commit
e787ad1a4b
@ -1,2 +1,2 @@
|
||||
LINUX_VERSION-5.10 = .155
|
||||
LINUX_KERNEL_HASH-5.10.155 = f1b027526c58e7bd127f35b17736e4a6c865866b9048898f05c5358d4d52d4f3
|
||||
LINUX_VERSION-5.10 = .156
|
||||
LINUX_KERNEL_HASH-5.10.156 = 679e9964ca720027967391b61db990ceb7868e93e203f87724f18310f4955923
|
||||
|
@ -1,3 +1,47 @@
|
||||
From: Felix Fietkau <nbd@openwrt.org>
|
||||
Subject: [PATCH] ar71xx: fix unaligned access in a few more places
|
||||
|
||||
SVN-Revision: 35130
|
||||
---
|
||||
arch/mips/include/asm/checksum.h | 83 +++---------------
|
||||
include/uapi/linux/ip.h | 2 +-
|
||||
include/uapi/linux/ipv6.h | 2 +-
|
||||
include/uapi/linux/tcp.h | 4 ++--
|
||||
include/uapi/linux/udp.h | 2 +-
|
||||
net/netfilter/nf_conntrack_core.c | 4 ++--
|
||||
include/uapi/linux/icmp.h | 2 +-
|
||||
include/uapi/linux/in6.h | 2 +-
|
||||
net/ipv6/tcp_ipv6.c | 9 +++--
|
||||
net/ipv6/datagram.c | 6 ++--
|
||||
net/ipv6/exthdrs.c | 2 +-
|
||||
include/linux/types.h | 5 +++
|
||||
net/ipv4/af_inet.c | 4 ++--
|
||||
net/ipv4/tcp_output.c | 69 +++++++++--------
|
||||
include/uapi/linux/igmp.h | 8 +++---
|
||||
net/core/flow_dissector.c | 2 +-
|
||||
include/uapi/linux/icmpv6.h | 2 +-
|
||||
include/net/ndisc.h | 10 ++++----
|
||||
net/sched/cls_u32.c | 6 +++---
|
||||
net/ipv6/ip6_offload.c | 2 +-
|
||||
include/net/addrconf.h | 2 +-
|
||||
include/net/inet_ecn.h | 4 ++--
|
||||
include/net/ipv6.h | 23 +++++----
|
||||
include/net/secure_seq.h | 1 +
|
||||
include/uapi/linux/in.h | 2 +-
|
||||
net/ipv6/ip6_fib.h | 2 +-
|
||||
net/netfilter/nf_conntrack_proto_tcp.c | 2 +-
|
||||
net/xfrm/xfrm_input.c | 4 ++--
|
||||
net/ipv4/tcp_input.c | 12 ++++---
|
||||
include/uapi/linux/if_pppox.h | 1 +
|
||||
net/ipv6/netfilter/nf_log_ipv6.c | 4 ++--
|
||||
include/net/neighbour.h | 6 +++--
|
||||
include/uapi/linux/netfilter_arp/arp_tables.h | 2 +-
|
||||
net/core/utils.c | 10 +++++--
|
||||
include/linux/etherdevice.h | 11 ++++---
|
||||
net/ipv4/tcp_offload.c | 6 +++---
|
||||
net/ipv6/netfilter/ip6table_mangle.c | 4 ++--
|
||||
37 file changed, 171 insertions(+), 141 deletions(-)
|
||||
|
||||
--- a/arch/mips/include/asm/checksum.h
|
||||
+++ b/arch/mips/include/asm/checksum.h
|
||||
@@ -100,26 +100,30 @@ static inline __sum16 ip_fast_csum(const
|
||||
@ -118,9 +162,9 @@
|
||||
|
||||
--- a/include/uapi/linux/ip.h
|
||||
+++ b/include/uapi/linux/ip.h
|
||||
@@ -103,7 +103,7 @@ struct iphdr {
|
||||
__be32 saddr;
|
||||
@@ -105,7 +105,7 @@ struct iphdr {
|
||||
__be32 daddr;
|
||||
);
|
||||
/*The options start here. */
|
||||
-};
|
||||
+} __attribute__((packed, aligned(2)));
|
||||
@ -129,10 +173,10 @@
|
||||
struct ip_auth_hdr {
|
||||
--- a/include/uapi/linux/ipv6.h
|
||||
+++ b/include/uapi/linux/ipv6.h
|
||||
@@ -132,7 +132,7 @@ struct ipv6hdr {
|
||||
|
||||
@@ -134,7 +134,7 @@ struct ipv6hdr {
|
||||
struct in6_addr saddr;
|
||||
struct in6_addr daddr;
|
||||
);
|
||||
-};
|
||||
+} __attribute__((packed, aligned(2)));
|
||||
|
||||
@ -229,16 +273,6 @@
|
||||
}
|
||||
|
||||
#ifdef CONFIG_TCP_MD5SIG
|
||||
--- a/include/linux/ipv6.h
|
||||
+++ b/include/linux/ipv6.h
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#define ipv6_optlen(p) (((p)->hdrlen+1) << 3)
|
||||
#define ipv6_authlen(p) (((p)->hdrlen+2) << 2)
|
||||
+
|
||||
/*
|
||||
* This structure contains configuration options per IPv6 link.
|
||||
*/
|
||||
--- a/net/ipv6/datagram.c
|
||||
+++ b/net/ipv6/datagram.c
|
||||
@@ -492,7 +492,7 @@ int ipv6_recv_error(struct sock *sk, str
|
||||
|
@ -311,7 +311,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
arc_emac_set_address_internal(ndev);
|
||||
--- a/drivers/net/ethernet/atheros/ag71xx.c
|
||||
+++ b/drivers/net/ethernet/atheros/ag71xx.c
|
||||
@@ -1856,7 +1856,6 @@ static int ag71xx_probe(struct platform_
|
||||
@@ -1857,7 +1857,6 @@ static int ag71xx_probe(struct platform_
|
||||
const struct ag71xx_dcfg *dcfg;
|
||||
struct net_device *ndev;
|
||||
struct resource *res;
|
||||
@ -319,7 +319,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
int tx_size, err, i;
|
||||
struct ag71xx *ag;
|
||||
|
||||
@@ -1952,10 +1951,8 @@ static int ag71xx_probe(struct platform_
|
||||
@@ -1953,10 +1952,8 @@ static int ag71xx_probe(struct platform_
|
||||
ag->stop_desc->ctrl = 0;
|
||||
ag->stop_desc->next = (u32)ag->stop_desc_dma;
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
},
|
||||
[PORT_NPCM] = {
|
||||
.name = "Nuvoton 16550",
|
||||
@@ -2724,6 +2724,11 @@ serial8250_do_set_termios(struct uart_po
|
||||
@@ -2713,6 +2713,11 @@ serial8250_do_set_termios(struct uart_po
|
||||
unsigned long flags;
|
||||
unsigned int baud, quot, frac = 0;
|
||||
|
||||
|
@ -24,7 +24,7 @@ Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
|
||||
|
||||
--- a/drivers/mmc/core/core.c
|
||||
+++ b/drivers/mmc/core/core.c
|
||||
@@ -1354,6 +1354,8 @@ void mmc_power_off(struct mmc_host *host
|
||||
@@ -1360,6 +1360,8 @@ void mmc_power_off(struct mmc_host *host
|
||||
|
||||
mmc_pwrseq_power_off(host);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user