From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=hNkT/p0f; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id 8DC9A5A0265 for ; Sun, 15 Feb 2026 11:57:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1771153034; 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=HUXgVOcHG7MNvOgR1Rmb6Ic1wYyikAgQlyyVFrpLVF4=; b=hNkT/p0fi4BejBd3udGvc8uIRAJF4yYf8aHK7F8c82LkfebKmsSW4tgMZiP5B9w5reR55z tlTUAWHzX7EVnSVdnVFtxfhHO7vI/V9chbrzJ/2OP03ufEt+BChGJieUtNrej5Q+R7TFZK G14d++B3AauTaOavmzv8JYkqgNUggLw= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-416-Rb7o3HXkNQ-10vmC7ewNMw-1; Sun, 15 Feb 2026 05:57:12 -0500 X-MC-Unique: Rb7o3HXkNQ-10vmC7ewNMw-1 X-Mimecast-MFC-AGG-ID: Rb7o3HXkNQ-10vmC7ewNMw_1771153031 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-48069a43217so23165395e9.1 for ; Sun, 15 Feb 2026 02:57:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771153031; x=1771757831; h=date:content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HUXgVOcHG7MNvOgR1Rmb6Ic1wYyikAgQlyyVFrpLVF4=; b=CFsLS/nvXIv0yaTOj3TWGdKYE0dRlxudJiidcxxlT6nRp7zpXXRNg/+BSXsaifBcX9 Tce2rppBafdhjYuaqkBfZ3F1PTqN9/VCSfAkaE99kiaocwp1px3Jr+h8RDi4eZGRsUfY 4pH8IBTmSncxPAdAnMnPGvzOGQfaZd7SBixBg21wgvu+RLJcOUIfbgcnw6g+o1Q38hQ1 1deXIvXcIWemD0joEjfChL7C+Ko36YlTCMjyZJGp3I2+Etp70NhwrmFnMDrSMrPoW0+d cKmwqeZOfavHmdTE2rIrpka2gP+UwRr98YVSsnc3Mk0Yvuy0Ty0vFdkbbg4cUxmFnJfm 6zBQ== X-Gm-Message-State: AOJu0Yw0bMj5Ak4Cne+Eo42ZSiFzrnd6ayPNoWufWz1BKMnx4BXSfOIe 8o8h8U+elpzfDR2riX5thjgRNNdS5K37jzjG1Nk+MH9EPYmrXDFJnPskQyTh8LdYJGbIJSZH3nM oWUcYrlVOz29PqT4pXk47brbnUt4ud1amDmOx6nPxBDThyss8CeCoMw== X-Gm-Gg: AZuq6aJsxwj/IhJU1pCanbpCNJK6OCToYWwCb7Jn5hfq3VTDg18NILF7J6NDzd2w3gl XsmU2gS14Kce48Zgh4/IlAWJaciSEVKLpLD8rKHheD06zT+m3dQG8rbYlkiMpkeO7ZeT/u4VWfm +4Q4eBELG22kDw23J1oWzgbVpW7A6mYIVeY+wC3rRUrCgyTZfRkHAHKkiF6W0JZrwy3pddE/KXN jg8EoahYRIwLMBW7/V4t8t0ooxmTzc0KVcQS6ZQvcTvU0EKMSYOiYqCELCbVdGMcZLjNxtAvzUa FDa/WB6D6X3SGc1/bhpLPV35HsAyKEqFkMKvGQf5OStfrzuewvHzsIRKXtJyunnQbyZlEvLtOS9 M8wfinX4um9/zBdk/+aMIBQOLGyIW3dUI X-Received: by 2002:a05:600c:8189:b0:482:f12f:f35e with SMTP id 5b1f17b1804b1-48379b98ff9mr79729045e9.12.1771153030903; Sun, 15 Feb 2026 02:57:10 -0800 (PST) X-Received: by 2002:a05:600c:8189:b0:482:f12f:f35e with SMTP id 5b1f17b1804b1-48379b98ff9mr79728825e9.12.1771153030473; Sun, 15 Feb 2026 02:57:10 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43796ad015bsm19474951f8f.38.2026.02.15.02.57.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Feb 2026 02:57:09 -0800 (PST) From: Stefano Brivio To: Yumei Huang Subject: Re: [PATCH v3] udp: Split activity timeouts for UDP flows Message-ID: <20260215115708.161f10f6@elisabeth> In-Reply-To: <20260214073136.45022-1-yuhuang@redhat.com> References: <20260214073136.45022-1-yuhuang@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Date: Sun, 15 Feb 2026 11:57:09 +0100 (CET) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: BNf9Yy78yrsS_UYtRgVLe-SaafY30GwjNJ9zSibZu1I_1771153031 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: H3FHAQPSE6P5RS6RAVONIW4L6JDIVHGU X-Message-ID-Hash: H3FHAQPSE6P5RS6RAVONIW4L6JDIVHGU 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, david@gibson.dropbear.id.au 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 Sat, 14 Feb 2026 15:31:36 +0800 Yumei Huang wrote: > Frequent DNS queries over UDP from a container or guest can result > in many sockets shown in ss(8), typically one per flow. This is > expected and harmless, but it can make the output of ss(8) look > noisy and potentially concern users. > > This patch splits UDP flow timeouts into two, mirroring the Linux > kernel, and sources the values from kernel parameters. The shorter > timeout is applied to unidirectional flows and minimal bidirectional > exchanges (single datagram and reply), while the longer timeout is > used for bidirectional flows with multiple datagrams on either side. > > Link: https://bugs.passt.top/show_bug.cgi?id=197 > Suggested-by: Stefano Brivio > Signed-off-by: Yumei Huang Applied. The AppArmor policy changes work as expected, too. -- Stefano