]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit7bac9a7658c46ecd26fae8b28c6b7b6fe21b7b11
tree2635a1ad8228e9ca8e14fbae797b148e779f8f92
parentf6e8e23b56dfe130f03ed9dc50f8d938e6aeed23
ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL

BugLink: https://bugs.launchpad.net/bugs/1839036
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
include/net/ip6_tunnel.h