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 43BC55A026F for ; Thu, 4 Apr 2024 00:58:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712185116; 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=itK4OoqMVjzy/EAf/lNEjw4xdrwt5Hi+aVhEb295rqU=; b=BTC3xS5KetRTvMSkkjWWcCndoV4hbaJ36Iz+po+033I7EiMNoaUs5rKeBd1eH+0idHGjvi XjFGFO5wOoWrQs3Vzv4h/HuONnMI49zSWhd3ai6249OSy9NDEhrBRm5g5N1lczN5qHLzl1 mTdtDAaJ10hpQbvbuaG+APNViDsnmp0= 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-454-GBJjk1yMMd6ldYbclas5rQ-1; Wed, 03 Apr 2024 18:58:34 -0400 X-MC-Unique: GBJjk1yMMd6ldYbclas5rQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (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 7464E101A520 for ; Wed, 3 Apr 2024 22:58:34 +0000 (UTC) Received: from fenrir.redhat.com (unknown [10.22.10.69]) by smtp.corp.redhat.com (Postfix) with ESMTP id 11815492BCD; Wed, 3 Apr 2024 22:58:33 +0000 (UTC) From: Jon Maloy To: passt-dev@passt.top, sbrivio@redhat.com, lvivier@redhat.com, dgibson@redhat.com, jmaloy@redhat.com Subject: [net-next 0/2] tcp: add support for SO_PEEK_OFF socket option Date: Wed, 3 Apr 2024 18:58:31 -0400 Message-ID: <20240403225833.123346-1-jmaloy@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 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: AD22WFYJTXS2EKO5C5YLE6NVZN2ECJUK X-Message-ID-Hash: AD22WFYJTXS2EKO5C5YLE6NVZN2ECJUK 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: We add support for the SO_PEEK_OFF socket option as a new feature in TCP. In a separate patch, we fix a bug that was revealed while testing this feature. Jon Maloy (2): tcp: add support for SO_PEEK_OFF tcp: correct handling of extreme menory squeeze net/ipv4/af_inet.c | 1 + net/ipv4/tcp.c | 16 ++++++++++------ net/ipv4/tcp_output.c | 5 ++++- 3 files changed, 15 insertions(+), 7 deletions(-) -- 2.42.0