inet: Check for supported protocol earlier
If we try to dump inet socket with unsupported proto we may fail with strange error from get_unconn_sk(), since the socket will not be found in hashes. Signed-off-by:Pavel Emelyanov <xemul@parallels.com> Reported-by:
Julian Andres Klode <jak@jak-linux.org>
Showing
Please
register
or
sign in
to comment