From 2d02a4f5bda4a5ff392286360ec7d1129bd77d25 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 17 Aug 2017 10:51:05 +0200 Subject: kernel: update 4.9 to 4.9.44 Refresh patches. Adapt 704-phy-no-genphy-soft-reset.patch. Remove brcm2708/950-0005-mm-Remove-the-PFN-busy-warning.patch. Compile-tested on brcm2708/bcm2708 and x86/64. Runtime-tested on brcm2708/bcm2708 and x86/64. Fixes the following vulnerabilities: - CVE-2017-7533 - CVE-2017-1000111 - CVE-2017-1000112 Signed-off-by: Stijn Tintel --- target/linux/generic/hack-4.9/904-debloat_dma_buf.patch | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'target/linux/generic/hack-4.9/904-debloat_dma_buf.patch') diff --git a/target/linux/generic/hack-4.9/904-debloat_dma_buf.patch b/target/linux/generic/hack-4.9/904-debloat_dma_buf.patch index 947471ae78..4f432c3568 100644 --- a/target/linux/generic/hack-4.9/904-debloat_dma_buf.patch +++ b/target/linux/generic/hack-4.9/904-debloat_dma_buf.patch @@ -11,8 +11,6 @@ Signed-off-by: Felix Fietkau kernel/sched/core.c | 1 + 4 files changed, 12 insertions(+), 5 deletions(-) -diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig -index d02e7c0f5bfd..e1c0e2e0d3a8 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig @@ -241,7 +241,7 @@ config SOC_BUS @@ -24,8 +22,6 @@ index d02e7c0f5bfd..e1c0e2e0d3a8 100644 default n select ANON_INODES help -diff --git a/drivers/dma-buf/Makefile b/drivers/dma-buf/Makefile -index 210a10bfad2b..36ee68dcdffe 100644 --- a/drivers/dma-buf/Makefile +++ b/drivers/dma-buf/Makefile @@ -1,3 +1,7 @@ @@ -39,8 +35,6 @@ index 210a10bfad2b..36ee68dcdffe 100644 +dma-buf-objs-$(CONFIG_SW_SYNC) += sw_sync.o sync_debug.o + +dma-shared-buffer-objs := $(dma-buf-objs-y) -diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c -index 6b54e02da10c..24e69ef1f243 100644 --- a/drivers/dma-buf/dma-buf.c +++ b/drivers/dma-buf/dma-buf.c @@ -34,6 +34,7 @@ @@ -58,11 +52,9 @@ index 6b54e02da10c..24e69ef1f243 100644 -__exitcall(dma_buf_deinit); +module_exit(dma_buf_deinit); +MODULE_LICENSE("GPL"); -diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 692c948ae333..eaf379285cca 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2170,6 +2170,7 @@ int wake_up_state(struct task_struct *p, unsigned int state) +@@ -2170,6 +2170,7 @@ int wake_up_state(struct task_struct *p, { return try_to_wake_up(p, state, 0); } @@ -70,6 +62,3 @@ index 692c948ae333..eaf379285cca 100644 /* * This function clears the sched_dl_entity static params. --- -2.11.0 - -- cgit v1.2.3