OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gtp: fix Illegal context switch in RCU read-side critical section.
[tomoyo/tomoyo-test1.git]
/
drivers
/
net
/
gtp.c
diff --git
a/drivers/net/gtp.c
b/drivers/net/gtp.c
index
92ef777
..
52f35cb
100644
(file)
--- a/
drivers/net/gtp.c
+++ b/
drivers/net/gtp.c
@@
-959,7
+959,7
@@
static int ipv4_pdp_add(struct gtp_dev *gtp, struct sock *sk,
}
- pctx = kmalloc(sizeof(
struct pdp_ctx), GFP_KERNEL
);
+ pctx = kmalloc(sizeof(
*pctx), GFP_ATOMIC
);
if (pctx == NULL)
return -ENOMEM;