Bug 7069 - use unsigned long long for statistics
Summary: use unsigned long long for statistics
Status: REJECTED DUPLICATE of bug 469
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Diego Calleja
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-29 04:39 UTC by wbrana
Modified: 2006-08-29 08:39 UTC (History)
0 users

See Also:
Kernel Version: 2.6.17.11
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
patch to net_device_stats (625 bytes, patch)
2006-08-29 04:45 UTC, wbrana
Details | Diff

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

Note You need to log in before you can comment on or make changes to this bug.