diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-29 22:23:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-29 22:23:09 +0200 |
commit | 745e20f1b626b1be4b100af5d4bf7b3439392f8f (patch) | |
tree | 5067e0179167106856217f7c4ddc68b15ec93db8 /drivers/net/dummy.c | |
parent | ipv6: Implement Any-IP support for IPv6. (diff) | |
download | linux-745e20f1b626b1be4b100af5d4bf7b3439392f8f.tar.xz linux-745e20f1b626b1be4b100af5d4bf7b3439392f8f.zip |
net: add a recursion limit in xmit path
As tunnel devices are going to be lockless, we need to make sure a
misconfigured machine wont enter an infinite loop.
Add a percpu variable, and limit to three the number of stacked xmits.
Reported-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dummy.c')
0 files changed, 0 insertions, 0 deletions