openwrtv4/target/linux/generic/files/drivers
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
..
leds linux/ledtrig-netdev: remove unsigned < 0 check 2017-06-11 14:22:44 +02:00
misc kernel: owl-loader for delayed Atheros ath9k fixup 2016-09-19 19:32:35 +02:00
mtd kernel: update myloader for linux 4.9 2017-06-07 17:19:48 +02:00
net/phy generic: make switch_port_stats tx/rx_bytes long long 2017-09-01 09:30:35 +02:00