netstat doesn't show all inet sessions on SMP system
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/
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 over 2 years ago
:New submission from Thomas Nikolajsen <email@example.com>:
: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.