From b299002877c801202c3b61d5e09865e88f506176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Tue, 7 Apr 2020 10:08:16 +0200 Subject: kernel: bump 5.4 to 5.4.31 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refreshed patches, removed upstreamed patches: oxnas: 003-ARM-dts-oxnas-Fix-clear-mask-property.patch generic: 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch Run tested: apu2, qemu-x86-64, apalis Build tested: sunxi/a53, imx6, x86/64, ipq40xx Tested-by: Kevin Darbyshire-Bryant [apu2] Signed-off-by: Petr Štetiar --- target/linux/generic/hack-5.4/647-netfilter-flow-acct.patch | 4 ++-- target/linux/generic/hack-5.4/721-phy_packets.patch | 6 +++--- target/linux/generic/hack-5.4/901-debloat_sock_diag.patch | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'target/linux/generic/hack-5.4') diff --git a/target/linux/generic/hack-5.4/647-netfilter-flow-acct.patch b/target/linux/generic/hack-5.4/647-netfilter-flow-acct.patch index 920514f11f..a7761e2d46 100644 --- a/target/linux/generic/hack-5.4/647-netfilter-flow-acct.patch +++ b/target/linux/generic/hack-5.4/647-netfilter-flow-acct.patch @@ -52,7 +52,7 @@ /* For layer 4 checksum field offset. */ #include #include -@@ -295,6 +296,7 @@ nf_flow_offload_ip_hook(void *priv, stru +@@ -296,6 +297,7 @@ nf_flow_offload_ip_hook(void *priv, stru skb->dev = outdev; nexthop = rt_nexthop(rt, flow->tuplehash[!dir].tuple.src_v4.s_addr); skb_dst_set_noref(skb, &rt->dst); @@ -60,7 +60,7 @@ neigh_xmit(NEIGH_ARP_TABLE, outdev, &nexthop, skb); return NF_STOLEN; -@@ -524,6 +526,7 @@ nf_flow_offload_ipv6_hook(void *priv, st +@@ -526,6 +528,7 @@ nf_flow_offload_ipv6_hook(void *priv, st skb->dev = outdev; nexthop = rt6_nexthop(rt, &flow->tuplehash[!dir].tuple.src_v6); skb_dst_set_noref(skb, &rt->dst); diff --git a/target/linux/generic/hack-5.4/721-phy_packets.patch b/target/linux/generic/hack-5.4/721-phy_packets.patch index a04529e6e4..07845da1ef 100644 --- a/target/linux/generic/hack-5.4/721-phy_packets.patch +++ b/target/linux/generic/hack-5.4/721-phy_packets.patch @@ -56,7 +56,7 @@ Signed-off-by: Felix Fietkau */ --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h -@@ -2665,6 +2665,10 @@ static inline int pskb_trim(struct sk_bu +@@ -2667,6 +2667,10 @@ static inline int pskb_trim(struct sk_bu return (len < skb->len) ? __pskb_trim(skb, len) : 0; } @@ -67,7 +67,7 @@ Signed-off-by: Felix Fietkau /** * pskb_trim_unique - remove end from a paged unique (not cloned) buffer * @skb: buffer to alter -@@ -2796,16 +2800,6 @@ static inline struct sk_buff *dev_alloc_ +@@ -2798,16 +2802,6 @@ static inline struct sk_buff *dev_alloc_ } @@ -101,7 +101,7 @@ Signed-off-by: Felix Fietkau help --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -3193,10 +3193,20 @@ static int xmit_one(struct sk_buff *skb, +@@ -3195,10 +3195,20 @@ static int xmit_one(struct sk_buff *skb, if (dev_nit_active(dev)) dev_queue_xmit_nit(skb, dev); diff --git a/target/linux/generic/hack-5.4/901-debloat_sock_diag.patch b/target/linux/generic/hack-5.4/901-debloat_sock_diag.patch index aec1d58fa7..3a1e23480c 100644 --- a/target/linux/generic/hack-5.4/901-debloat_sock_diag.patch +++ b/target/linux/generic/hack-5.4/901-debloat_sock_diag.patch @@ -16,7 +16,7 @@ Signed-off-by: Felix Fietkau --- a/net/Kconfig +++ b/net/Kconfig -@@ -100,6 +100,9 @@ source "net/netlabel/Kconfig" +@@ -103,6 +103,9 @@ source "net/netlabel/Kconfig" endif # if INET @@ -105,7 +105,7 @@ Signed-off-by: Felix Fietkau { --- a/net/ipv4/Kconfig +++ b/net/ipv4/Kconfig -@@ -399,6 +399,7 @@ config INET_TUNNEL +@@ -400,6 +400,7 @@ config INET_TUNNEL config INET_DIAG tristate "INET: socket monitoring interface" -- cgit v1.2.3