Bug 7069

Summary: use unsigned long long for statistics
Product: Networking Reporter: wbrana
Component: OtherAssignee: Diego Calleja (diegocg)
Status: REJECTED DUPLICATE    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.17.11 Subsystem:
Regression: --- Bisected commit-id:
Attachments: patch to net_device_stats

Description wbrana 2006-08-29 04:39:48 UTC
Device statistics could use unsigned long long instead of unsigned long to prevent
integer overflow
Comment 1 wbrana 2006-08-29 04:45:49 UTC
Created attachment 8894 [details]
patch to net_device_stats
Comment 2 Diego Calleja 2006-08-29 08:01:05 UTC

*** This bug has been marked as a duplicate of 469 ***
Comment 3 Diego Calleja 2006-08-29 08:39:50 UTC
I forgot to put this quote from the #469 bug: 64-bit operations are not atomic
in 32 bit machines, so you just can't make it 64-bit wide by changing the data type