diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/svcsock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index 4e0813b12ccf..4de8626e4f54 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c | |||
@@ -492,6 +492,9 @@ svc_sock_names(char *buf, struct svc_serv *serv, char *toclose) | |||
492 | } | 492 | } |
493 | spin_unlock(&serv->sv_lock); | 493 | spin_unlock(&serv->sv_lock); |
494 | if (closesk) | 494 | if (closesk) |
495 | /* Should unregister with portmap, but you cannot | ||
496 | * unregister just one protocol... | ||
497 | */ | ||
495 | svc_delete_socket(closesk); | 498 | svc_delete_socket(closesk); |
496 | else if (toclose) | 499 | else if (toclose) |
497 | return -ENOENT; | 500 | return -ENOENT; |