projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
228ebc4
)
kcm: do not sense pfmemalloc status in kcm_sendpage()
author
Eric Dumazet
<edumazet@google.com>
Thu, 27 Oct 2022 04:06:37 +0000
(
04:06
+0000)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 27 Oct 2022 18:25:13 +0000
(11:25 -0700)
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>
net/kcm/kcmsock.c
patch
|
blob
|
history
diff --git
a/net/kcm/kcmsock.c
b/net/kcm/kcmsock.c
index
63e32f1
..
a500422
100644
(file)
--- 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: