Bug #1895
closednetstat doesn't show all inet sessions on SMP system
0%
Description
On SMP system using after starting a ssh login
netstat command doesn't always show session:
On system A (192.168.1.253/24) having one ssh login to system B (192.168.1.238/
24),
it isn't shown by `netstat -f inet'; system B (UP) will show session.
With two ssh sessions to B, the last is shown by netstat on A (both on B).
ssh session to system C (192.168.1.242/24) is always shown on system A.
(ip-addrs just in case they gives different result)
`netstat -c<CPU> ..' doesn't show missing session either.
`sockstat -4c' gives same result (both use the same sysctl)
This is all using current master.
Updated by dillon about 14 years ago
:New submission from Thomas Nikolajsen <thomas.nikolajsen@mail.dk>:
:
:On SMP system using after starting a ssh login
:netstat command doesn't always show session:
I tracked it down. There is a bogus generation count test in
the inpcb listing code that does not take into account sockets
which are moved between cpus when they are bound.
-Matt