]> git.baikalelectronics.ru Git - kernel.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)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Oct 2022 18:25:13 +0000 (11:25 -0700)
commit7874885cda4fb81d12e509039d395688da8e1005
tree655556db78c9c195379b1704e4d44ea0400f639f
parent107ef43fa782773209f0103ee23aacdbdcae025f
kcm: do not sense pfmemalloc status in kcm_sendpage()

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

Fixes: e7d771d050fb ("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>
net/kcm/kcmsock.c