Stephen Hemminger stephen at networkplumber.org writes:
Begin forwarded message:
Date: Sat, 23 May 2015 16:54:50 +
From: bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at
bugzilla.kernel.org
To: shemminger at linux-foundation.org shemminger at
linux-foundation.org
Subject: [Bug 98781] New: WWAN: TX bytes counter shows very huge
impossible value
https://bugzilla.kernel.org/show_bug.cgi?id=98781
Bug ID: 98781
Summary: WWAN: TX bytes counter shows very huge impossible
value
Product: Networking
Version: 2.5
Kernel Version: 4.0.x
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
Assignee: shemminger at linux-foundation.org
Reporter: mm at superbash.de
Regression: No
Since version 4.0.x the TX bytes counter of the WWAN module shows a weird
value.
Example:
$ ifconfig wwan
wwan0: flags=4163UP,BROADCAST,RUNNING,MULTICAST mtu 1500
inet xxx.xxx.xxx.xxx netmask 255.255.255.252 broadcast
xxx.xxx.xxx.xxx
inet6 ::::: prefixlen 64 scopeid 0x20link
ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 19036 bytes 19190321 (18.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15874 bytes 43228847574631 (39.3 TiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
39.3 TiB - wow, absolutely not true
The WWAN is used as bridge to my internet provider (LTE usb stick)
I use the counter to control the traffic. It's only the TX counter, the RX
works ok.
I have exactly the same issue, exhibited when upgrading (n-1) kernel on
Ubuntu Vivid 15.04 from 3.17.x:
Linux uranis 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:10:47 UTC 2015
x86_64 x86_64 x86_64 GNU/Linux
wwan0 Link encap:Ethernet HWaddr 26:03:a9:e3:88:2e
inet addr:41.150.225.132 Bcast:41.150.225.135 Mask:255.255.255.248
inet6 addr: fe80::2403:a9ff:fee3:882e/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3366 errors:0 dropped:0 overruns:0 frame:0
TX packets:3497 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1459963 (1.4 MB) TX bytes:15019500985395 (15.0 TB)
Kernel internal or module (driver) bug, shows up everywhere including
'system monitor'. This problem has come up a few years back and was solved,
but seems to be back again...
Any ideas on fix ?
--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html