From: Pablo Neira Ayuso Date: Wed, 22 Sep 2010 06:34:12 +0000 (+0200) Subject: netfilter: nf_nat: better error handling of nf_ct_expect_related() in helpers X-Git-Tag: v2.6.37-rc1~147^2~3^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b92b61f3891517d18d0573ad2c939c81b59ecfe;p=pandora-kernel.git netfilter: nf_nat: better error handling of nf_ct_expect_related() in helpers This patch improves the situation in which the expectation table is full for conntrack NAT helpers. Basically, we give up if we don't find a place in the table instead of looping over nf_ct_expect_related() with a different port (we should only do this if it returns -EBUSY, for -EMFILE or -ESHUTDOWN I think that it's better to skip this). Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed