diff --git a/crypto/openssh/sshd.c b/crypto/openssh/sshd.c index 0821b75f79cb..177c394403aa 100644 --- a/crypto/openssh/sshd.c +++ b/crypto/openssh/sshd.c @@ -868,6 +868,7 @@ main(int ac, char **av) options.connections_period, myaddr, get_sock_port(newsock, 1), ntop); free((void *)myaddr); + close(newsock); ratelim_exceeded = 0; continue; } else {