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:05:57 +0000 (09:05 +0200)
commit3b2f8a66ae6034e9f32d6baeae517ad3400161a3
tree479f3033bd9859a454b20bad89fa53dc6629f597
parent4fd07ae0f7764138328a8ad5d974e6abc69aa010
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