summaryrefslogtreecommitdiffstats
path: root/include/xen/events.h
diff options
context:
space:
mode:
authorNicolas Dichtel2015-09-18 11:47:40 +0200
committerDavid S. Miller2015-09-21 07:36:22 +0200
commitbc22a0e2ea03b75b51a1f722f93821744b5b5ff1 (patch)
treec742810670b37ce1f35f780a6aad531bb6a69e2d /include/xen/events.h
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf (diff)
downloadkernel-qcow2-linux-bc22a0e2ea03b75b51a1f722f93821744b5b5ff1.tar.gz
kernel-qcow2-linux-bc22a0e2ea03b75b51a1f722f93821744b5b5ff1.tar.xz
kernel-qcow2-linux-bc22a0e2ea03b75b51a1f722f93821744b5b5ff1.zip
iptunnel: make rx/tx bytes counters consistent
This was already done a long time ago in commit 64194c31a0b6 ("inet: Make tunnel RX/TX byte counters more consistent") but tx path was broken (at least since 3.10). Before the patch the gre header was included on tx. After the patch: $ ping -c1 192.168.0.121 ; ip -s l ls dev gre1 PING 192.168.0.121 (192.168.0.121) 56(84) bytes of data. 64 bytes from 192.168.0.121: icmp_req=1 ttl=64 time=2.95 ms --- 192.168.0.121 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 2.955/2.955/2.955/0.000 ms 7: gre1@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1468 qdisc noqueue state UNKNOWN mode DEFAULT group default link/gre 10.16.0.249 peer 10.16.0.121 RX: bytes packets errors dropped overrun mcast 84 1 0 0 0 0 TX: bytes packets errors dropped carrier collsns 84 1 0 0 0 0 Reported-by: Julien Meunier <julien.meunier@6wind.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/xen/events.h')
0 files changed, 0 insertions, 0 deletions