Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
net
/
core
/
skbuff.c
diff --git
a/kernel/net/core/skbuff.c
b/kernel/net/core/skbuff.c
index
98da59c
..
fc09e8f
100644
(file)
--- a/
kernel/net/core/skbuff.c
+++ b/
kernel/net/core/skbuff.c
@@
-341,7
+341,7
@@
struct sk_buff *build_skb(void *data, unsigned int frag_size)
if (skb && frag_size) {
skb->head_frag = 1;
- if (
virt_to_head_page(data)->pfmemalloc
)
+ if (
page_is_pfmemalloc(virt_to_head_page(data))
)
skb->pfmemalloc = 1;
}
return skb;