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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 377F11ADC7E for ; Wed, 29 Apr 2026 17:46:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777484781; cv=none; b=VpR+lTDZD07yfRkmsqqdXcjAyyT9LYPzxdHMOYNTObBIju2yrzaz3UWaqTCS6FulygWUQANfEEEPy12GAdeqUN6CSmhZUl8TfMdZyFFVbVHWE+Z0kHPRPomDTvO69dXSbVoHQvWKrGJEavASiUHmlF+m1c+dN6dtlIRvRA3walQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777484781; c=relaxed/simple; bh=ltPFZOH3+F5GclvIiCsZJo9B3Rkn54SH6kgVTpcfOWg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=iIBWmq0JcMSK2G34JL2YM9Wk0sAVFncdWm8f9zN8jwyvBDg4Pc4WK8UFGDU8eSXEZ6IOwjpjy+BPBscvAfOx+C7Ay3mAC0t7jFpmMfybO1zrxnUASut4HHwAL5eea9Wvc0EsFsZYFsQ5z7Fu8WfPf4pMZfDXXN07LeJpcDqI4B4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=dYL3iS5u; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=SlZBLP3X; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="dYL3iS5u"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="SlZBLP3X" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1777484778; 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: in-reply-to:in-reply-to:references:references; bh=or10qtpHF5q4FsYpWyH8aqkdxHYxoqC0I1ML0azCPiE=; b=dYL3iS5uYETJ4zADPmWkRrp7cQjfSTMNUX2+9dBovd314LFuqakIyjSmw5g+lEd/E0tfRx ZmzIIICMvHtPSlQs4QiCPCpSuspdhrMaIu6KXUTgOshrUeceuUQyFgilCtaqFF8abP4ipx F5syzjEAC0X8EjlW2Ynkx4+wviE3yuA= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-504-uDAlaALoMs-ZbGFbsOBhvg-1; Wed, 29 Apr 2026 13:46:16 -0400 X-MC-Unique: uDAlaALoMs-ZbGFbsOBhvg-1 X-Mimecast-MFC-AGG-ID: uDAlaALoMs-ZbGFbsOBhvg_1777484775 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-b8f5bce308dso163766b.1 for ; Wed, 29 Apr 2026 10:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1777484775; x=1778089575; darn=vger.kernel.org; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=or10qtpHF5q4FsYpWyH8aqkdxHYxoqC0I1ML0azCPiE=; b=SlZBLP3XuTCp2bzQvvEcYvgNI4iXEI5ycfw3lYvUV+HUF9P+SfOIYFJfzNJO7i1ZVT 0EEmpSdj8UKKjFk/e/WJRasdxpfAUTkGRpmzGnZ2pf9up23tEKDydYPIHh8bNWIYLK4W xjcqTNhwCjMhp+p/uVIUfXP0tm58s9Rq+2sV8m+wm4ZHbjqIY9qJQPA4VttvwNsuTHGQ T8m6+Aghyu9R6R8GwJEOiSyQGFitLzUQBTvJk0cXJxIVH+f+WGX9mflcAcaeU6OjcoBs 1v9bXlh4O4fJAvM0XUhcVSBSkgPmd3PpK53NWthKfRdbQgWpOUD7J1Dq3xX7aiRBDrdF HHeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777484775; x=1778089575; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=or10qtpHF5q4FsYpWyH8aqkdxHYxoqC0I1ML0azCPiE=; b=mIlsvgX3eMe5VxvDC2Tk6ryz9T8vkHZ1qAQ39cux4uMTc4dFD6nRVVzr5LbgYVYCUI iBK3wSdVyH9u6ayDNqeo04xO/vE/dbA7FYimuY0rhpNbtCyxnJqfaHKgoi61oQs60Oyl ZcAn274OjWW5FPKg7NDB7RTp61Pri2nb6pu5AGBVg0HpKRrZ1gsKYnKkDr/J3mPMPFB4 ZwYuseuY/IfLtnm4fKmJsGtSNm4JFPut+mVk7s3KEqce1E+xaQuIQN2aG1yvJqCc/Qo1 p34JjUeZQ/rwFL16p+CtYDW+bjJHh5DNftS5jM0tx7mtU+WLeP3phdzICBmzWYbBw1F2 D9cA== X-Forwarded-Encrypted: i=1; AFNElJ/Hxfy8WEnazjCENdYTMPBtkbzWd4SKNSK54KNGqiADvDAAtQ8ijScqx8yU52C5j+7K3v+KCxhL7yYpewg=@vger.kernel.org X-Gm-Message-State: AOJu0YzARjaqqeI5Rlrxbqrty0Df1NXQRisz8lrDcR2SawPmW2X3Ja4F E1ijzfWV8SSOiSUQH/Wwvaz41OmiWPmP9ieHL0f7ZBxiReJQ4aq7Q+T5EvRxtUBxueOJ9/Ul8pB Ues3ucQ6poK9wKnjgRsaHi3vR7nQ0iBUPTFR24vUkc+r00SjrQ0ZiFfB7YrcBE/Uj2A== X-Gm-Gg: AeBDieuoYctcTC2I1QvZGrZkdiDg3cuAg6kfLCRHXVsFlhlR0cpqBSiB6EpusSwPKZx TN8FR+0gjYH6GHYcVManwzbE6LgFGkhil9ja9nAvfi1ByA8OeRit2UZwPqnZ3HdWXcPNCnAC9GR ZuWhJ5mo4Pk0bnDavXGEmPeqKkg7m5R/odwuJdGqTbE7RAvtOlkUSFnEmXyoU3v1cjdSJJNF22S /cxHUSzXK2NswpcsqG7UJ5gL2mcgSrJGF6jO+r71m6qf5iachj/nIP1XFnpfySBAs0xeDXuF6s2 9Y5k5mEucINawQ2jhx8x3TU4DAekZoI1Y2V4KvC3LAG12Zhp7YdLeWIJ++U0+15nbehDt1BaEIk aTyQmbweV5EKScIk6vGrdmXS6t62BInTI0td4kfgc7+aiGAwY6bd+fAexthRA7KZlZrENs0OGMX Q6TzwDaA== X-Received: by 2002:a17:907:1c29:b0:ba7:4cd9:ca12 with SMTP id a640c23a62f3a-bb8026bd340mr584860166b.13.1777484775184; Wed, 29 Apr 2026 10:46:15 -0700 (PDT) X-Received: by 2002:a17:907:1c29:b0:ba7:4cd9:ca12 with SMTP id a640c23a62f3a-bb8026bd340mr584857866b.13.1777484774601; Wed, 29 Apr 2026 10:46:14 -0700 (PDT) Received: from [10.44.49.209] (5920ab7b.static.cust.trined.nl. [89.32.171.123]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bb980a6f9d6sm125280266b.10.2026.04.29.10.46.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2026 10:46:14 -0700 (PDT) From: Eelco Chaudron To: Ilya Maximets Cc: netdev@vger.kernel.org, Aaron Conole , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Shuah Khan , Yuan Tan , Yang Yang , dev@openvswitch.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH net 0/2] openvswitch: fix self-deadlock on release of tunnel vports Date: Wed, 29 Apr 2026 19:46:12 +0200 X-Mailer: MailMate (2.0r6292) Message-ID: In-Reply-To: <20260429151756.4157670-1-i.maximets@ovn.org> References: <20260429151756.4157670-1-i.maximets@ovn.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On 29 Apr 2026, at 17:16, Ilya Maximets wrote: > Two patches - the fix for the actual bug and the selftest that reproduces it. > > I missed the self-deadlock in the original patch that introduced the issue, > because testing required code modification in the ovs-vswitchd to force it to > use legacy tunnel ports. I thought I made the change correctly, but apparently > something went wrong and the tests were run with the standard LWT infra instead. > The selftest added in this patch set will at least prevent this kind of mistakes > in the future. > > I mentioned, however, that these tunnel vports are legacy and not actually used > by ovs-vswitchd. RTM_NEWLINK + COLLECT_METADATA is used in conjunction with the > standard OVS_VPORT_TYPE_NETDEV instead since 2017. The code to use the legacy > tunnels still exists in ovs-vswitchd however, but only as a fallback for older > kernels and we're planning to remove it in the next release. I'll be sending an > RFC to remove support for these legacy tunnel types from the kernel, as they > serve no real purpose today and only increase the uAPI surface for CVEs, but > we need to fix the known bugs for stable versions. Thanks, Ilya, for working on this patch! It looks good to me, assuming you remove the unused socket library in v2. For the series: Acked-by: Eelco Chaudron