From: Florian Westphal Date: Tue, 14 Jul 2015 15:51:06 +0000 (+0200) Subject: netfilter: xtables: compute exact size needed for jumpstack X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~228^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98d1bd802cdbc8f56868fae51edec13e86b59515;p=pandora-kernel.git netfilter: xtables: compute exact size needed for jumpstack The {arp,ip,ip6tables} jump stack is currently sized based on the number of user chains. However, its rather unlikely that every user defined chain jumps to the next, so lets use the existing loop detection logic to also track the chain depths. The stacksize is then set to the largest chain depth seen. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed