ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL
authorXin Long <lucien.xin@gmail.com>
Mon, 17 Jun 2019 13:34:14 +0000 (21:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Jul 2019 07:04:28 +0000 (09:04 +0200)
commit95a00fa0d43d201bd06422e5208d3b803394adba
tree910715724aa3d9c0ac762ea8e44e8d7f86c02cbb
parent8945fba0e3799246bfaf26b15fd28cdad0b26b26
ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL

[ Upstream commit 6f6a8622057c92408930c31698394fae1557b188 ]

A similar fix to Patch "ip_tunnel: allow not to count pkts on tstats by
setting skb's dev to NULL" is also needed by ip6_tunnel.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/ip6_tunnel.h