]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa396c2b46df2aba0cbf60e5f7544f9cdbea2ead
tree069a46bc63c378cb140c7f7ce5f6a34cd5bc65f5
parent62fcca0cc314af9b43f74be1a7611ea3cb10d51a
ip_tunnel: Do not use mark in skb by default

This reverts commit 584ebbc2a569175a7486f021660f8251a5c8fee4.

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