forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: bump 4.9 to 4.9.212 (coolsnowwolf#2964)
* kernel: bump 4.9 to 4.9.212 Refreshed all patches. Fixes: - CVE-2019-14896 - CVE-2019-14897 Compile-tested on: x86_64 Runtime-tested on: none Signed-off-by: CN_SZTL <[email protected]> * kernel4.9: remove patches for layerscape
- Loading branch information
1 parent
cb90c7f
commit 0625c87
Showing
43 changed files
with
386 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
target/linux/ar71xx/patches-4.9/450-gpio-nxp-74hc153-gpio-chip-driver.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
target/linux/ar71xx/patches-4.9/452-gpio-add-gpio-latch-driver.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
target/linux/ar71xx/patches-4.9/955-qca953x-fix-potential-missing-irq-dispatch.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- a/arch/mips/ath79/irq.c | ||
+++ b/arch/mips/ath79/irq.c | ||
@@ -69,15 +69,21 @@ static void qca953x_ip2_irq_dispatch(str | ||
u32 status; | ||
|
||
status = ath79_reset_rr(QCA953X_RESET_REG_PCIE_WMAC_INT_STATUS); | ||
+ status &= QCA953X_PCIE_WMAC_INT_PCIE_ALL | QCA953X_PCIE_WMAC_INT_WMAC_ALL; | ||
+ | ||
+ if (status == 0) { | ||
+ spurious_interrupt(); | ||
+ return; | ||
+ } | ||
|
||
if (status & QCA953X_PCIE_WMAC_INT_PCIE_ALL) { | ||
ath79_ddr_wb_flush(3); | ||
generic_handle_irq(ATH79_IP2_IRQ(0)); | ||
- } else if (status & QCA953X_PCIE_WMAC_INT_WMAC_ALL) { | ||
+ } | ||
+ | ||
+ if (status & QCA953X_PCIE_WMAC_INT_WMAC_ALL) { | ||
ath79_ddr_wb_flush(4); | ||
generic_handle_irq(ATH79_IP2_IRQ(1)); | ||
- } else { | ||
- spurious_interrupt(); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
int eth_gro_complete(struct sk_buff *skb, int nhoff); | ||
--- a/net/ethernet/eth.c | ||
+++ b/net/ethernet/eth.c | ||
@@ -391,6 +391,34 @@ struct net_device *alloc_etherdev_mqs(in | ||
@@ -396,6 +396,34 @@ struct net_device *alloc_etherdev_mqs(in | ||
} | ||
EXPORT_SYMBOL(alloc_etherdev_mqs); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,7 +134,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
if (tcp_small_queue_check(sk, skb, 0)) | ||
break; | ||
|
||
@@ -3561,8 +3561,6 @@ void __tcp_send_ack(struct sock *sk, u32 | ||
@@ -3569,8 +3569,6 @@ void __tcp_send_ack(struct sock *sk, u32 | ||
/* We do not want pure acks influencing TCP Small Queues or fq/pacing | ||
* too much. | ||
* SKB_TRUESIZE(max(1 .. 66, MAX_TCP_HEADER)) is unfortunately ~784 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1095,7 +1095,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
dma_intr_ena = smsc9420_reg_read(pd, DMAC_INTR_ENA); | ||
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | ||
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | ||
@@ -2700,7 +2700,7 @@ static int stmmac_poll(struct napi_struc | ||
@@ -2702,7 +2702,7 @@ static int stmmac_poll(struct napi_struc | ||
|
||
work_done = stmmac_rx(priv, budget); | ||
if (work_done < budget) { | ||
|
24 changes: 24 additions & 0 deletions
24
target/linux/generic/hack-4.9/202-reduce_module_size.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From fd66884da2f96d2a7ea73f58b1b86251b959a913 Mon Sep 17 00:00:00 2001 | ||
From: Felix Fietkau <[email protected]> | ||
Date: Fri, 7 Jul 2017 16:56:19 +0200 | ||
Subject: kernel: strip unnecessary symbol table information from kernel modules | ||
|
||
reduces default squashfs size on ar71xx by about 4k | ||
|
||
lede-commit: 058d331a39077f159ca8922f1f422a1346d6aa67 | ||
Signed-off-by: Felix Fietkau <[email protected]> | ||
--- | ||
Makefile | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -398,7 +398,7 @@ KBUILD_AFLAGS_KERNEL := | ||
KBUILD_CFLAGS_KERNEL := | ||
KBUILD_AFLAGS_MODULE := -DMODULE | ||
KBUILD_CFLAGS_MODULE := -DMODULE | ||
-KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds | ||
+KBUILD_LDFLAGS_MODULE = -T $(srctree)/scripts/module-common.lds $(if $(CONFIG_PROFILING),,-s) | ||
GCC_PLUGINS_CFLAGS := | ||
CLANG_FLAGS := | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ Signed-off-by: Gabor Juhos <[email protected]> | |
|
||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -402,6 +402,11 @@ KBUILD_LDFLAGS_MODULE := -T $(srctree)/s | ||
@@ -402,6 +402,11 @@ KBUILD_LDFLAGS_MODULE = -T $(srctree)/sc | ||
GCC_PLUGINS_CFLAGS := | ||
CLANG_FLAGS := | ||
|
||
|
Oops, something went wrong.