diff options
author | Eric Dumazet <edumazet@google.com> | 2022-10-27 06:06:37 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-27 20:25:13 +0200 |
commit | ee15e1f38dc201fa7d63c13aa258b728dce27f4d (patch) | |
tree | 655556db78c9c195379b1704e4d44ea0400f639f /net/kcm/kcmsock.c | |
parent | net: do not sense pfmemalloc status in skb_append_pagefrags() (diff) | |
download | linux-ee15e1f38dc201fa7d63c13aa258b728dce27f4d.tar.xz linux-ee15e1f38dc201fa7d63c13aa258b728dce27f4d.zip |
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: 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>
Diffstat (limited to 'net/kcm/kcmsock.c')
-rw-r--r-- | net/kcm/kcmsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/kcm/kcmsock.c b/net/kcm/kcmsock.c index 63e32f181f43..a5004228111d 100644 --- a/net/kcm/kcmsock.c +++ b/net/kcm/kcmsock.c @@ -839,7 +839,7 @@ static ssize_t kcm_sendpage(struct socket *sock, struct page *page, } get_page(page); - skb_fill_page_desc(skb, i, page, offset, size); + skb_fill_page_desc_noacc(skb, i, page, offset, size); skb_shinfo(skb)->flags |= SKBFL_SHARED_FRAG; coalesced: |