diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-06-17 16:34:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-19 03:48:45 +0300 |
commit | 5684abf7020dfc5f0b6ba1d68eda3663871fce52 (patch) | |
tree | eb435c9ef15055443527f5c5215bcc17220dea28 /include/net/netprio_cgroup.h | |
parent | 72b319dc08b4924a29f5e2560ef6d966fa54c429 (diff) | |
download | linux-5684abf7020dfc5f0b6ba1d68eda3663871fce52.tar.xz |
ip_tunnel: allow not to count pkts on tstats by setting skb's dev to NULL
iptunnel_xmit() works as a common function, also used by a udp tunnel
which doesn't have to have a tunnel device, like how TIPC works with
udp media.
In these cases, we should allow not to count pkts on dev's tstats, so
that udp tunnel can work with no tunnel device safely.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netprio_cgroup.h')
0 files changed, 0 insertions, 0 deletions