- Remove following patch as it merged in 4.4.171:
f2fs: fix a panic caused by NULL flush_cmd_control
Change-Id: I8164f27135939c660b32607623c23d86f774cf7a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6567
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Srivatsa S. Bhat <srivatsab@vmware.com>
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
Summary: Linux API header files |
| 2 | 2 |
Name: linux-api-headers |
| 3 |
-Version: 4.4.164 |
|
| 3 |
+Version: 4.4.171 |
|
| 4 | 4 |
Release: 1%{?dist}
|
| 5 | 5 |
License: GPLv2 |
| 6 | 6 |
URL: http://www.kernel.org/ |
| ... | ... |
@@ -8,7 +8,7 @@ Group: System Environment/Kernel |
| 8 | 8 |
Vendor: VMware, Inc. |
| 9 | 9 |
Distribution: Photon |
| 10 | 10 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 11 |
-%define sha1 linux=33ac0f11bcb49515bd6e2c4c841c25cb62d735de |
|
| 11 |
+%define sha1 linux=0dad29240a55b758c2ebe81ce43b4766b7d81f7d |
|
| 12 | 12 |
BuildArch: noarch |
| 13 | 13 |
# From SPECS/linux and used by linux-esx only |
| 14 | 14 |
# It provides f*xattrat syscalls |
| ... | ... |
@@ -29,6 +29,8 @@ find /%{buildroot}%{_includedir} \( -name .install -o -name ..install.cmd \) -de
|
| 29 | 29 |
%defattr(-,root,root) |
| 30 | 30 |
%{_includedir}/*
|
| 31 | 31 |
%changelog |
| 32 |
+* Thu Jan 24 2019 Ajay Kaher <akaher@vmware.com> 4.4.171-1 |
|
| 33 |
+- Update to version 4.4.171 |
|
| 32 | 34 |
* Mon Nov 26 2018 Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> 4.4.164-1 |
| 33 | 35 |
- Update to version 4.4.164 |
| 34 | 36 |
* Wed Nov 14 2018 Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> 4.4.163-1 |
| 35 | 37 |
deleted file mode 100644 |
| ... | ... |
@@ -1,47 +0,0 @@ |
| 1 |
-From d4fdf8ba0e5808ba9ad6b44337783bd9935e0982 Mon Sep 17 00:00:00 2001 |
|
| 2 |
-From: Yunlei He <heyunlei@huawei.com> |
|
| 3 |
-Date: Thu, 1 Jun 2017 16:43:51 +0800 |
|
| 4 |
-Subject: [PATCH] f2fs: fix a panic caused by NULL flush_cmd_control |
|
| 5 |
- |
|
| 6 |
-Mount fs with option noflush_merge, boot failed for illegal address |
|
| 7 |
-fcc in function f2fs_issue_flush: |
|
| 8 |
- |
|
| 9 |
- if (!test_opt(sbi, FLUSH_MERGE)) {
|
|
| 10 |
- ret = submit_flush_wait(sbi); |
|
| 11 |
- atomic_inc(&fcc->issued_flush); -> Here, fcc illegal |
|
| 12 |
- return ret; |
|
| 13 |
- } |
|
| 14 |
- |
|
| 15 |
-Signed-off-by: Yunlei He <heyunlei@huawei.com> |
|
| 16 |
-Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> |
|
| 17 |
-Signed-off-by: Srivatsa S. Bhat <srivatsa@csail.mit.edu> |
|
| 18 |
- fs/f2fs/segment.c | 5 ++++- |
|
| 19 |
- 1 file changed, 4 insertions(+), 1 deletion(-) |
|
| 20 |
- |
|
| 21 |
-diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c |
|
| 22 |
-index f77b325..87406ef 100644 |
|
| 23 |
-+++ b/fs/f2fs/segment.c |
|
| 24 |
-@@ -395,6 +395,9 @@ int create_flush_cmd_control(struct f2fs_sb_info *sbi) |
|
| 25 |
- init_waitqueue_head(&fcc->flush_wait_queue); |
|
| 26 |
- init_llist_head(&fcc->issue_list); |
|
| 27 |
- SM_I(sbi)->cmd_control_info = fcc; |
|
| 28 |
-+ if (!test_opt(sbi, FLUSH_MERGE)) |
|
| 29 |
-+ return err; |
|
| 30 |
-+ |
|
| 31 |
- fcc->f2fs_issue_flush = kthread_run(issue_flush_thread, sbi, |
|
| 32 |
- "f2fs_flush-%u:%u", MAJOR(dev), MINOR(dev)); |
|
| 33 |
- if (IS_ERR(fcc->f2fs_issue_flush)) {
|
|
| 34 |
-@@ -2313,7 +2316,7 @@ int build_segment_manager(struct f2fs_sb_info *sbi) |
|
| 35 |
- |
|
| 36 |
- INIT_LIST_HEAD(&sm_info->sit_entry_set); |
|
| 37 |
- |
|
| 38 |
-- if (test_opt(sbi, FLUSH_MERGE) && !f2fs_readonly(sbi->sb)) {
|
|
| 39 |
-+ if (!f2fs_readonly(sbi->sb)) {
|
|
| 40 |
- err = create_flush_cmd_control(sbi); |
|
| 41 |
- if (err) |
|
| 42 |
- return err; |
|
| 43 |
-2.7.4 |
|
| 44 |
- |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%global security_hardening none |
| 2 | 2 |
Summary: Kernel |
| 3 | 3 |
Name: linux-esx |
| 4 |
-Version: 4.4.164 |
|
| 5 |
-Release: 2%{?dist}
|
|
| 4 |
+Version: 4.4.171 |
|
| 5 |
+Release: 1%{?dist}
|
|
| 6 | 6 |
License: GPLv2 |
| 7 | 7 |
URL: http://www.kernel.org/ |
| 8 | 8 |
Group: System Environment/Kernel |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 | 11 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 12 |
-%define sha1 linux=33ac0f11bcb49515bd6e2c4c841c25cb62d735de |
|
| 12 |
+%define sha1 linux=0dad29240a55b758c2ebe81ce43b4766b7d81f7d |
|
| 13 | 13 |
Source1: config-esx |
| 14 | 14 |
Patch0: double-tcp_mem-limits.patch |
| 15 | 15 |
Patch1: linux-4.4-sysctl-sched_weighted_cpuload_uses_rla.patch |
| ... | ... |
@@ -41,8 +41,7 @@ Patch27: 0001-net-create-skb_gso_validate_mac_len.patch |
| 41 | 41 |
Patch28: 0002-bnx2x-disable-GSO-where-gso_size-is-too-big-for-hard.patch |
| 42 | 42 |
# Fix for CVE-2018-8043 |
| 43 | 43 |
Patch30: 0001-net-phy-mdio-bcm-unimac-fix-potential-NULL-dereferen.patch |
| 44 |
-# Fix for CVE-2017-18241 |
|
| 45 |
-Patch33: 0001-f2fs-fix-a-panic-caused-by-NULL-flush_cmd_control.patch |
|
| 44 |
+ |
|
| 46 | 45 |
Patch34: 0001-hwrng-rdrand-Add-RNG-driver-based-on-x86-rdrand-inst.patch |
| 47 | 46 |
# Fix for CVE-2017-18232 |
| 48 | 47 |
Patch35: 0001-scsi-libsas-direct-call-probe-and-destruct.patch |
| ... | ... |
@@ -130,7 +129,6 @@ The Linux package contains the Linux kernel doc files |
| 130 | 130 |
%patch27 -p1 |
| 131 | 131 |
%patch28 -p1 |
| 132 | 132 |
%patch30 -p1 |
| 133 |
-%patch33 -p1 |
|
| 134 | 133 |
%patch34 -p1 |
| 135 | 134 |
%patch35 -p1 |
| 136 | 135 |
%patch36 -p1 |
| ... | ... |
@@ -237,6 +235,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
|
| 237 | 237 |
/usr/src/linux-headers-%{uname_r}
|
| 238 | 238 |
|
| 239 | 239 |
%changelog |
| 240 |
+* Thu Jan 24 2019 Ajay Kaher <akaher@vmware.com> 4.4.171-1 |
|
| 241 |
+- Update to version 4.4.171 |
|
| 240 | 242 |
* Wed Dec 12 2018 Kamal Charan <kcharan@vmware.com> 4.4.164-2 |
| 241 | 243 |
- Add 9p zero copy data path using crossfd |
| 242 | 244 |
* Mon Nov 26 2018 Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> 4.4.164-1 |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%global security_hardening none |
| 2 | 2 |
Summary: Kernel |
| 3 | 3 |
Name: linux |
| 4 |
-Version: 4.4.164 |
|
| 5 |
-Release: 4%{?kat_build:.%kat_build}%{?dist}
|
|
| 4 |
+Version: 4.4.171 |
|
| 5 |
+Release: 1%{?kat_build:.%kat_build}%{?dist}
|
|
| 6 | 6 |
License: GPLv2 |
| 7 | 7 |
URL: http://www.kernel.org/ |
| 8 | 8 |
Group: System Environment/Kernel |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 | 11 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/%{name}-%{version}.tar.xz
|
| 12 |
-%define sha1 linux=33ac0f11bcb49515bd6e2c4c841c25cb62d735de |
|
| 12 |
+%define sha1 linux=0dad29240a55b758c2ebe81ce43b4766b7d81f7d |
|
| 13 | 13 |
Source1: config |
| 14 | 14 |
%define ena_version 1.1.3 |
| 15 | 15 |
Source2: https://github.com/amzn/amzn-drivers/archive/ena_linux_1.1.3.tar.gz |
| ... | ... |
@@ -40,8 +40,6 @@ Patch19: 0001-net-create-skb_gso_validate_mac_len.patch |
| 40 | 40 |
Patch20: 0002-bnx2x-disable-GSO-where-gso_size-is-too-big-for-hard.patch |
| 41 | 41 |
# Fix for CVE-2018-8043 |
| 42 | 42 |
Patch22: 0001-net-phy-mdio-bcm-unimac-fix-potential-NULL-dereferen.patch |
| 43 |
-# Fix for CVE-2017-18241 |
|
| 44 |
-Patch25: 0001-f2fs-fix-a-panic-caused-by-NULL-flush_cmd_control.patch |
|
| 45 | 43 |
Patch26: Implement-the-f-xattrat-family-of-functions.patch |
| 46 | 44 |
Patch27: 0001-hwrng-rdrand-Add-RNG-driver-based-on-x86-rdrand-inst.patch |
| 47 | 45 |
# Fix for CVE-2017-18232 |
| ... | ... |
@@ -162,7 +160,6 @@ This package contains the 'perf' performance analysis tools for Linux kernel. |
| 162 | 162 |
%patch19 -p1 |
| 163 | 163 |
%patch20 -p1 |
| 164 | 164 |
%patch22 -p1 |
| 165 |
-%patch25 -p1 |
|
| 166 | 165 |
%patch26 -p1 |
| 167 | 166 |
%patch27 -p1 |
| 168 | 167 |
%patch28 -p1 |
| ... | ... |
@@ -338,6 +335,8 @@ ln -sf %{name}-%{uname_r}.cfg /boot/photon.cfg
|
| 338 | 338 |
/usr/share/perf-core |
| 339 | 339 |
|
| 340 | 340 |
%changelog |
| 341 |
+* Thu Jan 24 2019 Ajay Kaher <akaher@vmware.com> 4.4.171-1 |
|
| 342 |
+- Update to version 4.4.171 |
|
| 341 | 343 |
* Tue Jan 15 2019 Alexey Makhalov <amakhalov@vmware.com> 4.4.164-4 |
| 342 | 344 |
- .config: disable CONFIG_FANOTIFY_ACCESS_PERMISSIONS |
| 343 | 345 |
- Removed deprecated -q option for depmod |