Re: wrong "raw" socket statistics in 1.3.17

Alan Cox (
Sun, 17 Sep 1995 13:38:11 +0100 (BST)

> After one incoming TCP connection has been closed again, cat /proc/net/raw
> tells me:
> sl local_address rem_address st tx_queue rx_queue tr tm->when uid
> 1: 426E0D81:0001 00000000:0000 07 000001A0:00000000 00:FFFEFF31 00000000 0 0
> although there is not a single raw socket on my machine (I should
> know :-)

It isn't bogus - its real. The kernel now opens an ICMP socket internally for its
sending. This does wonderous things to the code cleanliness and happens to meet
all the recommendations about not generating millions of ICMP's because it now
has socket flow control.