diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-09-20 18:50:00 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-20 18:50:00 (GMT) |
commit | d24f22f3df9ac3f3af95e850df0b576d41bd3cfe (patch) | |
tree | db5cf4d94fa9b56fafa677dda417fc1f9a919cc7 /drivers/net | |
parent | 46151ae81758f05086e17fd4e4da129afe100f93 (diff) | |
download | linux-fsl-qoriq-d24f22f3df9ac3f3af95e850df0b576d41bd3cfe.tar.xz |
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 'drivers/net')
0 files changed, 0 insertions, 0 deletions