From: Eric Dumazet Date: Wed, 29 Sep 2010 20:23:09 +0000 (-0700) Subject: net: add a recursion limit in xmit path X-Git-Tag: v2.6.37-rc1~147^2~319 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=745e20f1b626b1be4b100af5d4bf7b3439392f8f;p=pandora-kernel.git 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 Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed