Bug 73750

Summary: netstat -ic is not correct.
Product: [Retired] Red Hat Linux Reporter: Fuchi Hideshi <hfuchi>
Component: net-toolsAssignee: Phil Knirsch <pknirsch>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: rrosario, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-09-10 02:54:05 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: 59818, 64862    
Bug Blocks:    
Attachments:
Description Flags
this patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=149576&repeatmerged=yes none

Description Fuchi Hideshi 2002-09-10 02:51:18 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020615
Debian/1.2.5-1.1

Description of problem:
netstat -ic is not correct, when using the -i and -c options.

It is necessary to initialize int_last in free_interface_list().
and proc_read need no.

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


How reproducible:
Always

Steps to Reproduce:
1.run netstat -ic
2.
3.
	

Actual Results:  Kernel Interface table
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0   1500   0  163176   1726      0      0  217459    197      0      0 BMRU
lo    16436   0   22845      0      0      0   22845      0      0      0 LRU
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg


Expected Results:  Kernel Interface table
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0   1500   0  163240   1755      0      0  217497    197      0      0 BMRU
lo    16436   0   22853      0      0      0   22853      0      0      0 LRU
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0   1500   0  163240   1755      0      0  217497    197      0      0 BMRU
lo    16436   0   22853      0      0      0   22853      0      0      0 LRU
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0   1500   0  163243   1755      0      0  217498    197      0      0 BMRU
lo    16436   0   22853      0      0      0   22853      0      0      0 LRU
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0   1500   0  163247   1755      0      0  217501    197      0      0 BMRU
lo    16436   0   22853      0      0      0   22853      0      0      0 LRU


Additional info:

Comment 2 Phil Knirsch 2002-10-04 08:36:22 UTC

*** This bug has been marked as a duplicate of 64862 ***

Comment 3 John Flanagan 2003-12-19 14:46:15 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2003-164.html