ss: fix crash when dump stats from /proc with '-p'
It really partially reverts: ec4d0d8a (ss: Replace unixstat struct by new sockstat struct) but adds few fields (name & peer_name) from removed unixstat to sockstat struct to easy return original code. Fixes: ec4d0d8a (ss: Replace unixstat struct by new sockstat struct) Reported-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Showing
Please register or sign in to comment