ip_tunnel: Do not use mark in skb by default
authorThomas Winter <Thomas.Winter@alliedtelesis.co.nz>
Sun, 25 Feb 2018 21:28:10 +0000 (10:28 +1300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2018 20:22:59 +0000 (15:22 -0500)
commit4e994776e7bdc3402347f8ea7f8c1b73137bf3e3
tree069a46bc63c378cb140c7f7ce5f6a34cd5bc65f5
parent0e5a82efda872c2469c210957d7d4161ef8f4391
ip_tunnel: Do not use mark in skb by default

This reverts commit 5c38bd1b82e1f76f9fa96c1e61c9897cabf1ce45.

skb->mark contains the mark the encapsulated traffic which
can result in incorrect routing decisions being made such
as routing loops if the route chosen is via tunnel itself.
The correct method should be to use tunnel->fwmark.

Signed-off-by: Thomas Winter <thomas.winter@alliedtelesis.co.nz>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel.c