Commit 11a766ce authored by David S. Miller's avatar David S. Miller

net: Increase xmit RECURSION_LIMIT to 10.

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 0926f910
...@@ -2213,7 +2213,7 @@ static inline int __dev_xmit_skb(struct sk_buff *skb, struct Qdisc *q, ...@@ -2213,7 +2213,7 @@ static inline int __dev_xmit_skb(struct sk_buff *skb, struct Qdisc *q,
} }
static DEFINE_PER_CPU(int, xmit_recursion); static DEFINE_PER_CPU(int, xmit_recursion);
#define RECURSION_LIMIT 3 #define RECURSION_LIMIT 10
/** /**
* dev_queue_xmit - transmit a buffer * dev_queue_xmit - transmit a buffer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment