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.129.124]) by passt.top (Postfix) with ESMTP id 33CE15A004F for ; Fri, 12 Jul 2024 21:43:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720813426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NOh+Xe2CgWGuL5DacFJWqzHHqwnbhc2N5Z0Xs+LH0Po=; b=KL/BTLgLJo1Ixk7pTKD3orfkAKWnuw1rCyK+nLO8icZi6ACCPiBncsCbZG1IwCNk05vV2R QC2dVifAar6UG2OYcOJJGLK+4OFbr2yuUkbsAQkDtTuX08dbY393kp4yX5Y1aILXQlXeQF kZsrGRm4CE/o7Nolve8iZR0xXwdD4nE= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-387-57l988uzMoOxZddmXGLbHQ-1; Fri, 12 Jul 2024 15:43:44 -0400 X-MC-Unique: 57l988uzMoOxZddmXGLbHQ-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-79f0a17bb2aso265181685a.1 for ; Fri, 12 Jul 2024 12:43:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720813423; x=1721418223; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NOh+Xe2CgWGuL5DacFJWqzHHqwnbhc2N5Z0Xs+LH0Po=; b=irSUNy/Z0Ckh9YPGJYxex4J0XE+E70Jpdm+PLA5YzEZYF1RS6qWzDDKeAIPhOqN5pv uRwU1XMpXPlq7Be5n1LBiIYorAtunITpImxX8TeijHgzQvaN9eQL3T2/9PRwZ60apEZm Xt7TiYNWlh7VJMJeSY0BF0yAwWm6pDy0BzZuB2aGJqJr1oXRYi2+zJx8JuWSGTwA+oUj AQ5wDaGsUmw32h6qGDEIh28UYIYjqGnychZc2KzemreXCmTwyJYaJevSjF94fYrL936g dVTh13QlwgpUtc6BeDmuQadbq4ItQIN8YbkFCSMzawc3aMFFw8yijw/Eh9945mleLlLl 0UOQ== X-Gm-Message-State: AOJu0Yy8753/XrYouHuuvdto8OjhnpfOfyRplgM9IhEgJNWP+ywemGWK CD0y4r31M4w2fdkzBYi3ZLvkR7FAJZWZIqys+QZcApqZyaLemFE11au+wP4g62gvzK5DDfGfrkh WBaihlaqNaow1y22NFeuk3907T2qnOyWMm0xoYprB67LXB6yvk/xrwWrY1mVw190dKirqlilHTN oTIuiz0IdgHLOlDCUXWQS6CZn7o4ZUTZ/rr4w= X-Received: by 2002:a05:620a:2a02:b0:79f:176f:747a with SMTP id af79cd13be357-79f19adc16fmr1739347285a.66.1720813423649; Fri, 12 Jul 2024 12:43:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2n5nKRI/SF4+XXPopCok/2LlQ3Y5BQXQoHmkikYpTavbDC2j+XpyLYgY34kQn0u2uVY5rEQ== X-Received: by 2002:a05:620a:2a02:b0:79f:176f:747a with SMTP id af79cd13be357-79f19adc16fmr1739344785a.66.1720813423280; Fri, 12 Jul 2024 12:43:43 -0700 (PDT) Received: from maya.cloud.tilaa.com (maya.cloud.tilaa.com. [164.138.29.33]) by smtp.gmail.com with ESMTPSA id af79cd13be357-79f18ff69basm432884785a.19.2024.07.12.12.43.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jul 2024 12:43:42 -0700 (PDT) Date: Fri, 12 Jul 2024 21:43:08 +0200 From: Stefano Brivio To: Jon Maloy Subject: Re: [PATCH v9 0/2] Add support for SO_PEEK_OFF Message-ID: <20240712214308.49b2f492@elisabeth> In-Reply-To: <20240712190450.1261907-1-jmaloy@redhat.com> References: <20240712190450.1261907-1-jmaloy@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: KS4KQ64TNAUYAWTXYIQO6Z6P23LCRMFU X-Message-ID-Hash: KS4KQ64TNAUYAWTXYIQO6Z6P23LCRMFU X-MailFrom: sbrivio@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 CC: passt-dev@passt.top, lvivier@redhat.com, dgibson@redhat.com 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: On Fri, 12 Jul 2024 15:04:48 -0400 Jon Maloy wrote: > We add support for the SO_PEEK_OFF option, plus work around a kernel > bug discovered along the way. > > Jon Maloy (2): > tcp: leverage support of SO_PEEK_OFF socket option when available > tcp: handle shrunk window advertisemenst from guest > > tcp.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- > tcp.h | 3 +++ > tcp_buf.c | 25 ++++++++++++++++------ > 3 files changed, 81 insertions(+), 9 deletions(-) Thanks, it looks good to me now! I'll wait for David's review before applying it. -- Stefano