Bug 435554

Summary: netstat -s does not show TcpExt
Product: [Fedora] Fedora Reporter: Sami Farin <hvtaifwkbgefbaei>
Component: net-toolsAssignee: Radek Vokál <rvokal>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.60-87 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 493314 (view as bug list) Environment:
Last Closed: 2008-03-04 15:40:39 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:
Bug Depends On:    
Bug Blocks: 493314    
Attachments:
Description Flags
double fgets buffer size none

Description Sami Farin 2008-03-01 15:50:09 UTC
Description of problem:
because of silly fixed length buffer of 1024 bytes in statistics.c:process_fd(),
netstat -s fails with
"error parsing /proc/net/netstat: Success"

Version-Release number of selected component (if applicable):
1.60-86

How reproducible:
depends on kernel, 2.6.23 works, 2.6.24.3 does not work.

Steps to Reproduce:
1. netstat -s
2.
3.
  
Actual results:
parsing fails

Expected results:
show TcpExt stats

Additional info:

Comment 1 Sami Farin 2008-03-01 15:50:09 UTC
Created attachment 296453 [details]
double fgets buffer size

Comment 2 Radek Vokál 2008-03-04 15:40:39 UTC
Patch applied on rawhide