openwrtv4/target/linux/generic
Thibaut VARENE c30a70fc9f generic: make switch_port_stats tx/rx_bytes long long
This generic structure defines tx_bytes and rx_bytes as unsigned long (u32),
while several devices would typically report unsigned long long (u64).

The code can work as is, but there's a chance that with a sufficiently fast
interface the overflow might happen too fast to be correctly noticed by the
consumers of this data.

This patch makes both field unsigned long long and updates the only known
consumer of this data: swconfig_leds.c

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
2017-09-01 09:30:35 +02:00
..
backport-4.9 kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
files generic: make switch_port_stats tx/rx_bytes long long 2017-09-01 09:30:35 +02:00
hack-4.9 kernel: update 4.9 to 4.9.45 2017-08-30 17:05:10 +02:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-3.18 kernel: split patches folder up into backport, pending and hack folders 2017-08-05 08:46:36 +02:00
pending-4.4 kernel: update 4.4 to 4.4.83 2017-08-17 14:31:45 +02:00
pending-4.9 kernel: update 4.9 to 4.9.45 2017-08-30 17:05:10 +02:00
config-3.18 kernel: add missing symbols 2017-07-07 07:44:51 +02:00
config-4.4 kernel: move Lantiq PEF7061/7071/7072 phy driver to generic 2017-06-24 22:36:38 +02:00
config-4.9 kernel: add missing symbols 2017-07-07 07:44:51 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00