From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id 4891D5A026D for ; Sat, 20 Apr 2024 21:19:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713640763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fytnxwBsmTsmUY0UgDIkKNTrnBwtx8WqBWtowK7C6ng=; b=NTyt7WaNxQcvQnkt8R8QaETaq4X5NxTDzyNdSizWQnJ3PIFilYel+yjMPyGucaP1H6Jl5T XeCcSF6C1rfy22q6KpFecw2RJgWK+LIwr3b2jX7hWoVU8KmplaythYLIRr9my1kbWKbTJb jezO+4eRFsOs79Ke025NoME0W1wC3gM= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-490-iClKikmrN1iQI1UoBXbSsw-1; Sat, 20 Apr 2024 15:19:21 -0400 X-MC-Unique: iClKikmrN1iQI1UoBXbSsw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 369AF8884A3 for ; Sat, 20 Apr 2024 19:19:21 +0000 (UTC) Received: from fenrir.redhat.com (unknown [10.22.34.114]) by smtp.corp.redhat.com (Postfix) with ESMTP id C924143FAD; Sat, 20 Apr 2024 19:19:20 +0000 (UTC) From: Jon Maloy To: passt-dev@passt.top, sbrivio@redhat.com, lvivier@redhat.com, dgibson@redhat.com, jmaloy@redhat.com Subject: [PATCH 0/2] Support for SO_PEEK_OFF when a available Date: Sat, 20 Apr 2024 15:19:18 -0400 Message-ID: <20240420191920.104876-1-jmaloy@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true Message-ID-Hash: BCWJZC27S5HSHVC6O3WTSSVIB5DEH2QJ X-Message-ID-Hash: BCWJZC27S5HSHVC6O3WTSSVIB5DEH2QJ X-MailFrom: jmaloy@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: First commit introduces support for SO_PEEK_OFF socket option. Second commit adds a workaround for a kernel TCP bug. Jon Maloy (2): tcp: leverage support of SO_PEEK_OFF socket option when available tcp: allow retransmit when peer receive window is zero tcp.c | 63 +++++++++++++++++++++++++++++++++++++++++++----------- tcp_conn.h | 2 ++ 2 files changed, 53 insertions(+), 12 deletions(-) -- 2.42.0