projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netvm: propagate page->pfmemalloc from skb_alloc_page to skb
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
usb
/
gadget
/
f_phonet.c
diff --git
a/drivers/usb/gadget/f_phonet.c
b/drivers/usb/gadget/f_phonet.c
index
965a629
..
8ee9268
100644
(file)
--- a/
drivers/usb/gadget/f_phonet.c
+++ b/
drivers/usb/gadget/f_phonet.c
@@
-301,7
+301,7
@@
pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags)
struct page *page;
int err;
- page =
alloc_page(gfp_flags
);
+ page =
__skb_alloc_page(gfp_flags | __GFP_NOMEMALLOC, NULL
);
if (!page)
return -ENOMEM;