From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC1B4138330 for ; Wed, 7 Sep 2016 01:12:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA17921C1FA; Wed, 7 Sep 2016 01:12:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F75521C1FA for ; Wed, 7 Sep 2016 01:12:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE35D3408B8 for ; Wed, 7 Sep 2016 01:12:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9A74246E for ; Wed, 7 Sep 2016 01:12:26 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1473210723.c93af501f1fb49d758bb8a606231238716f4f3b4.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/openssh/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/openssh/files/openssh-7.3_p1-hpn-update.patch X-VCS-Directories: net-misc/openssh/files/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: c93af501f1fb49d758bb8a606231238716f4f3b4 X-VCS-Branch: master Date: Wed, 7 Sep 2016 01:12:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 082ad4f3-ec77-4189-88f2-05ff1d7457ed X-Archives-Hash: 6512a965c5db15f19796030c7a007df0 commit: c93af501f1fb49d758bb8a606231238716f4f3b4 Author: Patrick McLean gentoo org> AuthorDate: Wed Sep 7 01:07:15 2016 +0000 Commit: Patrick McLean gentoo org> CommitDate: Wed Sep 7 01:12:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c93af501 net-misc/openssh: Update hpn update patch to add fix for deadlock Package-Manager: portage-2.3.0 .../openssh/files/openssh-7.3_p1-hpn-update.patch | 39 ++++++++++++++++------ 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/net-misc/openssh/files/openssh-7.3_p1-hpn-update.patch b/net-misc/openssh/files/openssh-7.3_p1-hpn-update.patch index 2c4cc50..cb11524 100644 --- a/net-misc/openssh/files/openssh-7.3_p1-hpn-update.patch +++ b/net-misc/openssh/files/openssh-7.3_p1-hpn-update.patch @@ -1,5 +1,5 @@ --- openssh-7_2_P2-hpn-14.10.diff.orig 2016-09-01 10:34:05.905112131 -0700 -+++ openssh-7_2_P2-hpn-14.10.diff 2016-09-01 11:33:19.106664802 -0700 ++++ openssh-7_2_P2-hpn-14.10.diff 2016-09-06 17:34:54.903466727 -0700 @@ -156,145 +156,6 @@ compat.o crc32.o deattack.o fatal.o hostfile.o \ log.o match.o md-sha256.o moduli.o nchan.o packet.o opacket.o \ @@ -146,7 +146,24 @@ diff --git a/channels.c b/channels.c index c9d2015..13b30a1 100644 --- a/channels.c -@@ -1270,7 +1131,7 @@ +@@ -519,7 +380,7 @@ + index 0000000..fdc9b2f + --- /dev/null + +++ b/cipher-ctr-mt.c +-@@ -0,0 +1,533 @@ ++@@ -0,0 +1,534 @@ + +/* + + * OpenSSH Multi-threaded AES-CTR Cipher + + * +@@ -893,6 +754,7 @@ + + pthread_cond_wait(&q->cond, &q->lock); + + } + + q->qstate = KQDRAINING; +++ pthread_cond_broadcast(&q->cond); + + pthread_mutex_unlock(&q->lock); + + + + /* Mark consumed queue empty and signal producers */ +@@ -1270,7 +1132,7 @@ #include "ssherr.h" #include "sshbuf.h" @@ -155,7 +172,7 @@ #include "digest.h" #if OPENSSL_VERSION_NUMBER >= 0x00907000L -@@ -1312,8 +1173,8 @@ +@@ -1312,8 +1174,8 @@ + */ + if (ctos && !log_flag) { + logit("SSH: Server;Ltype: Kex;Remote: %s-%d;Enc: %s;MAC: %s;Comp: %s", @@ -166,7 +183,7 @@ + newkeys->enc.name, + authlen == 0 ? newkeys->mac.name : "", + newkeys->comp.name); -@@ -1430,7 +1291,7 @@ +@@ -1430,7 +1292,7 @@ + rekey_requested = 0; + return 1; + } @@ -175,7 +192,7 @@ /* Time-based rekeying */ if (state->rekey_interval != 0 && state->rekey_time + state->rekey_interval <= monotime()) -@@ -1490,7 +1351,7 @@ +@@ -1490,7 +1352,7 @@ transferred = *counter - (cur_pos ? cur_pos : start_pos); cur_pos = *counter; @@ -184,7 +201,7 @@ bytes_left = end_pos - cur_pos; + delta_pos = cur_pos - last_pos; -@@ -1564,8 +1425,8 @@ +@@ -1564,8 +1426,8 @@ { "canonicaldomains", oCanonicalDomains }, { "canonicalizefallbacklocal", oCanonicalizeFallbackLocal }, @@ -282,6 +287,11 @@ static struct { @@ -194,7 +211,7 @@ + { "tcprcvbufpoll", oTcpRcvBufPoll }, + { "tcprcvbuf", oTcpRcvBuf }, -@@ -1736,8 +1597,8 @@ +@@ -1736,8 +1598,8 @@ off_t size, statbytes; unsigned long long ull; int setimes, targisdir, wrerrno = 0; @@ -205,7 +222,7 @@ struct timeval tv[2]; #define atime tv[0] -@@ -1956,32 +1817,6 @@ +@@ -1956,32 +1818,6 @@ } /* @@ -238,7 +255,7 @@ @@ -1041,8 +1064,12 @@ server_request_tun(void) sock = tun_open(tun, mode); if (sock < 0) -@@ -2372,10 +2207,10 @@ +@@ -2372,10 +2208,10 @@ debug("Client protocol version %d.%d; client software version %.100s", remote_major, remote_minor, remote_version); + logit("SSH: Server;Ltype: Version;Remote: %s-%d;Protocol: %d.%d;Client: %.100s", @@ -251,7 +268,7 @@ @@ -1160,6 +1163,8 @@ server_listen(void) int ret, listen_sock, on = 1; -@@ -2413,7 +2248,7 @@ +@@ -2413,7 +2249,7 @@ if (options.challenge_response_authentication) options.kbd_interactive_authentication = 1; @@ -2151,6 +2168,9 @@ main(int ac, char **av) @@ -260,7 +277,7 @@ free(laddr); + /* set the HPN options for the child */ -@@ -2486,11 +2321,10 @@ +@@ -2486,11 +2322,10 @@ index eb4e948..3692722 100644 --- a/version.h +++ b/version.h