]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kcm: do not sense pfmemalloc status in kcm_sendpage()
authorEric Dumazet <edumazet@google.com>
Thu, 27 Oct 2022 04:06:37 +0000 (04:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Nov 2022 15:00:34 +0000 (00:00 +0900)
commit1a757c63fccfd80bde490fb87e75460bd9707c38
tree5b1423b4be8b333f2556af25ad2508e03c4a441e
parent847a2859814b31392340a2b16604b25afaa92dcc
kcm: do not sense pfmemalloc status in kcm_sendpage()

[ Upstream commit ee15e1f38dc201fa7d63c13aa258b728dce27f4d ]

Similar to changes done in TCP in blamed commit.
We should not sense pfmemalloc status in sendpage() methods.

Fixes: 326140063946 ("tcp: TX zerocopy should not sense pfmemalloc status")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20221027040637.1107703-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/kcm/kcmsock.c