From: Eric Dumazet Date: Tue, 20 Sep 2011 18:50:00 +0000 (-0400) Subject: ip6_tunnel: add optional fwmark inherit X-Git-Tag: v3.2-rc1~129^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d24f22f3df9ac3f3af95e850df0b576d41bd3cfe;p=pandora-kernel.git ip6_tunnel: add optional fwmark inherit Add IP6_TNL_F_USE_ORIG_FWMARK to ip6_tunnel, so that ip6_tnl_xmit2() makes a route lookup taking into account skb->fwmark and doesnt cache lookup result. This permits more flexibility in policies and firewall setups. To setup such a tunnel, "fwmark inherit" option should be added to "ip -f inet6 tunnel" command. Reported-by: Anders Franzen CC: Hans Schillström Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed