OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0926f91
)
net: Increase xmit RECURSION_LIMIT to 10.
author
David S. Miller
<davem@davemloft.net>
Mon, 25 Oct 2010 19:51:55 +0000
(12:51 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 25 Oct 2010 19:51:55 +0000
(12:51 -0700)
Three is definitely too low, and we know from reports that GRE tunnels
stacked as deeply as 37 levels cause stack overflows, so pick some
reasonable value between those two.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
patch
|
blob
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index
78b5a89
..
2c7da3a
100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-2213,7
+2213,7
@@
static inline int __dev_xmit_skb(struct sk_buff *skb, struct Qdisc *q,
}
static DEFINE_PER_CPU(int, xmit_recursion);
-#define RECURSION_LIMIT
3
+#define RECURSION_LIMIT
10
/**
* dev_queue_xmit - transmit a buffer