+3
−9
+16
−0
Loading
stable inclusion from stable-v5.10.210 commit b6f27626f56e44c2437cf66e183e9e1a844cac19 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9Q9EU CVE: CVE-2023-52672 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b6f27626f56e44c2437cf66e183e9e1a844cac19 -------------------------------- [ Upstream commit b4bd6b4bac8edd61eb8f7b836969d12c0c6af165 ] This declutters the code by reducing the number of #ifdefs and makes the watch_queue checks simpler. This has no runtime effect; the machine code is identical. Signed-off-by:Max Kellermann <max.kellermann@ionos.com> Message-Id: <20230921075755.1378787-2-max.kellermann@ionos.com> Reviewed-by:
David Howells <dhowells@redhat.com> Signed-off-by:
Christian Brauner <brauner@kernel.org> Stable-dep-of: e95aada4cb93 ("pipe: wakeup wr_wait after setting max_usage") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zizhi Wo <wozizhi@huawei.com>