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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 00:48:45 +0000 (20:48 -0400)
commit6f6a8622057c92408930c31698394fae1557b188
tree69cf7ce4dd3232a849220107317f82a7a220765c
parent5684abf7020dfc5f0b6ba1d68eda3663871fce52
ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL

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>
include/net/ip6_tunnel.h