]> git.baikalelectronics.ru Git - kernel.git/commit
net, ip_tunnel: fix namespaces move
authorWilliam Dauchy <w.dauchy@criteo.com>
Tue, 21 Jan 2020 14:26:24 +0000 (15:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 15:05:21 +0000 (16:05 +0100)
commit29cda8c4a719f0a55b61441d7e1fcae5cccc9987
tree6c027ffb4c4aeac9bcd29ea5c3d8490a4333f819
parent16afe51d362aaf425222da543a790ebc550ffa4f
net, ip_tunnel: fix namespaces move

in the same manner as commit 97fb3c74261e ("net: ip6_gre: fix moving
ip6gre between namespaces"), fix namespace moving as it was broken since
commit 5a9e833d5d2a ("ip_gre: Add support to collect tunnel metadata.").
Indeed, the ip6_gre commit removed the local flag for collect_md
condition, so there is no reason to keep it for ip_gre/ip_tunnel.

this patch will fix both ip_tunnel and ip_gre modules.

Fixes: 5a9e833d5d2a ("ip_gre: Add support to collect tunnel metadata.")
Signed-off-by: William Dauchy <w.dauchy@criteo.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel.c