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 14:59:19 +0000 (23:59 +0900)
commit885a454e97c4ecacd5ffc1ede95d194229619e86
treec0e2d317a27cf0433b9f40765cad1d3383a1a401
parent92b4c5c3fa810212da20088bcc6c0a77fc8607bd
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