Skip to content
Commit 60bd133e authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

sk: Do not lookup a socket twice



The socket_desc is being looked up in dump_unix/dump_inet. In
the dump_socket this desc is only required to obtain a family,
which in turn can be done with a getsockopt.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 49da2834
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment