From: Andrew Collins Date: Wed, 12 Dec 2012 14:23:49 +0000 (+0000) Subject: netfilter: nf_nat: Also handle non-ESTABLISHED routing changes in MASQUERADE X-Git-Tag: v3.8-rc3~8^2~14^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c65ef8dc7b1c16379b9fc29e925716a10804af43;p=pandora-kernel.git netfilter: nf_nat: Also handle non-ESTABLISHED routing changes in MASQUERADE Since (a0ecb85 netfilter: nf_nat: Handle routing changes in MASQUERADE target), the MASQUERADE target handles routing changes which affect the output interface of a connection, but only for ESTABLISHED connections. It is also possible for NEW connections which already have a conntrack entry to be affected by routing changes. This adds a check to drop entries in the NEW+conntrack state when the oif has changed. Signed-off-by: Andrew Collins Acked-by: Jozsef Kadlecsik Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed