diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-09-20 14:50:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-20 14:50:00 -0400 |
commit | d24f22f3df9ac3f3af95e850df0b576d41bd3cfe (patch) | |
tree | db5cf4d94fa9b56fafa677dda417fc1f9a919cc7 /net/ipv6/tcp_ipv6.c | |
parent | 46151ae81758f05086e17fd4e4da129afe100f93 (diff) | |
download | op-kernel-dev-d24f22f3df9ac3f3af95e850df0b576d41bd3cfe.zip op-kernel-dev-d24f22f3df9ac3f3af95e850df0b576d41bd3cfe.tar.gz |
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 <Anders.Franzen@ericsson.com>
CC: Hans Schillström <hans.schillstrom@ericsson.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions