Bug 446456
| Summary: | RFE: add ability to reset interface stats via procfs | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | James Cammarata <james.cammarata> | ||||||
| Component: | kernel | Assignee: | Jiri Pirko <jpirko> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | Martin Jenner <mjenner> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 4.6 | CC: | davem, inode0, jkvalerius, rkhan, tgraf, vgoyal | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-06-24 02:01:42 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
James Cammarata
2008-05-14 17:12:39 UTC
Created attachment 305385 [details]
Patch to accomplish RFE
Created attachment 305503 [details]
Updated patch
Added some sanity checking on the sscanf() to make sure there isn't a buffer
overflow, and that it picks up the interface name.
Similar proposals were nearly universally rejected numerous times upstream. The scsi case is an exception, and an unfortunate one, because it has dire consequences. If one administrator is doing statistics and decides to reset the stats, this can wreck analysis being done by another administrator. This is why such things belong in userland tools, not in the kernel. And the most recent discussion about this on netdev showed numerous userland solutions to this problem. Yep, this was submitted here and upstream at the same time, and was shot down there, so please feel free to close this. I had forgotten it was even open till I saw the assignment email :) |