Home
last modified time | relevance | path

Searched hist:"5684 abf7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv4/
H A Dip_tunnel_core.c5684abf7 Mon Jun 17 08:34:13 CDT 2019 Xin Long <lucien.xin@gmail.com> 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>
5684abf7 Mon Jun 17 08:34:13 CDT 2019 Xin Long <lucien.xin@gmail.com> 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>