mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-29 21:22:46 +00:00
- djm@cvs.openbsd.org 2012/06/20 04:42:58
[clientloop.c serverloop.c] initialise accept() backoff timer to avoid EINVAL from select(2) in rekeying
This commit is contained in:
parent
f8268503d1
commit
6c6da33d31
@ -50,6 +50,10 @@
|
||||
- jmc@cvs.openbsd.org 2012/06/19 21:35:54
|
||||
[sshd_config.5]
|
||||
tweak previous; ok markus
|
||||
- djm@cvs.openbsd.org 2012/06/20 04:42:58
|
||||
[clientloop.c serverloop.c]
|
||||
initialise accept() backoff timer to avoid EINVAL from select(2) in
|
||||
rekeying
|
||||
|
||||
20120519
|
||||
- (dtucker) [configure.ac] bz#2010: fix non-portable shell construct. Patch
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: clientloop.c,v 1.239 2012/04/11 13:16:19 djm Exp $ */
|
||||
/* $OpenBSD: clientloop.c,v 1.240 2012/06/20 04:42:58 djm Exp $ */
|
||||
/*
|
||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||
@ -583,7 +583,7 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
|
||||
{
|
||||
struct timeval tv, *tvp;
|
||||
int timeout_secs;
|
||||
time_t minwait_secs;
|
||||
time_t minwait_secs = 0;
|
||||
int ret;
|
||||
|
||||
/* Add any selections by the channel mechanism. */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: serverloop.c,v 1.161 2012/04/11 13:16:19 djm Exp $ */
|
||||
/* $OpenBSD: serverloop.c,v 1.162 2012/06/20 04:42:58 djm Exp $ */
|
||||
/*
|
||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||
@ -281,7 +281,7 @@ wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp,
|
||||
{
|
||||
struct timeval tv, *tvp;
|
||||
int ret;
|
||||
time_t minwait_secs;
|
||||
time_t minwait_secs = 0;
|
||||
int client_alive_scheduled = 0;
|
||||
int program_alive_scheduled = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user