From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f74.google.com (mail-wm1-f74.google.com [209.85.128.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B85A32ED27 for ; Thu, 28 May 2026 06:25:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779949556; cv=none; b=IWC4E2wWdGwuKzVL4m667zdRasKbTEv9+835vbBz817C9jPlk38DiyBS8+jpUsLZ6UxYmodILJXvkUseHcKgGKrmhp79Wxq1VsVUFb8YgqRKXvw9saXtmTxcNk8mlYzDgcPgXA10dXqsodxROZVaAO7cGl4xEI+kVzUPY2IvDxM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779949556; c=relaxed/simple; bh=2ju0gi2msI4LA4jLVYYeoWcL+MgWV/250G5FJn9IDHU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=PCQHfwhSPfaBA7yhrsgXUdTjkYrv6sRANhh3ZUcCrmmtPgRXFJzJLb9anxmKrB8vG2yKHWYuCEPQMjiLbGktJxl4OjsQYKilLP+a/cRakBgzWp5wE8lgfAL4yuXaWd6lkYFInqZz5tvb6CtyX6kWKagM441uhcTqR1O8jYSoTag= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=hwRmDNyi; arc=none smtp.client-ip=209.85.128.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="hwRmDNyi" Received: by mail-wm1-f74.google.com with SMTP id 5b1f17b1804b1-48fde68e420so96087495e9.0 for ; Wed, 27 May 2026 23:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1779949549; x=1780554349; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=Osc2OSTyPqT4oi0FZ2bdQ3RgEJRcoTvJK8RojzOLg8E=; b=hwRmDNyicPEimEagV4/T1v11KjabZeojN9RkLmv6ynzkg7a7G6v95QUT0HO+iMrOlO pixAaOv7umIRemdjfizZrDPDnwhQyPmxeAEyHzznGxibtq1N3b/8xJ3ZlZTDss7cgHa7 TvyrMrlQpNvt8hrMWUWln1weYj4CLBgznB1tIwpVOLlqVs5AwtKpT+iYd8SAGxCoQw4N BO6zbbknXgWwL+YF9oVc4PlxnszQlP/b2VLAujGGbiVFrE+OSfHRvy7oIl0NRnul3OHr df+1yaAwi4cW9SpdeH3M+oSxR8B//xPseDeH1G2LtDWnwJ5aG+ULeI0fgQIjzSOnaSC/ qBQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779949549; x=1780554349; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Osc2OSTyPqT4oi0FZ2bdQ3RgEJRcoTvJK8RojzOLg8E=; b=gXWVT2Pf+QCPYBOZyY5Rn3sFFvzyRkmmYL3LufRnxMxQwLMh+5xbCcL1xiiVQch+pX Q3KPCV86JNtHWPiyIYLjCiNh1v7AabwJGz99ANgksIRgbTbdgT+B0JggXwqKRlIizWql R94AgbKLC+mbQLnoupPjfDUDE0IldAcRv6ZjL2g6U2bRMiKamo9R9Ru7okrpEWYU5KuC FO8hSiUiWeRCNAa6CFJM3IaMuYHtFbVzhXYM/OEwP6vz96DxTDLnISlZEH8i18BEdYuq 66ZpFnVdNnVxrxhjaxT31R4+aMl8GQLx4oKdkFq7YR6m5swv2JXID/YobVK92b1ZhKJl CRUA== X-Forwarded-Encrypted: i=1; AFNElJ8R4DcH4xZPhAPX1Yi1LmIfhWA5Mo9j2cZGedjSDyVCzpq1XrckbB8G39EMVqTE7jnRpxFFcT2EEUJL9h0MbA==@vger.kernel.org X-Gm-Message-State: AOJu0YwL9IwKw9Psef2zodEanD9769pcDWF9i2mRQAO0go8pnqh8BcfT zmtf6/KxVhFug6GFauuGTyg3glHuBAFdCxh3t9zu5y/DqNTltUxc22rRfE7BlIMcoAok9n91dr/ VzXENEzj/qHj3bvLT9Q== X-Received: from wmsl24.prod.google.com ([2002:a05:600c:1d18:b0:487:3739:c5c4]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:5254:b0:490:484b:bf41 with SMTP id 5b1f17b1804b1-490484bbf7amr427484645e9.6.1779949548810; Wed, 27 May 2026 23:25:48 -0700 (PDT) Date: Thu, 28 May 2026 06:25:48 +0000 In-Reply-To: <20260527192130.21dabf08@kernel.org> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260525-binder-netlink-v5-0-a90e2923ebeb@google.com> <20260525-binder-netlink-v5-1-a90e2923ebeb@google.com> <20260527192130.21dabf08@kernel.org> Message-ID: Subject: Re: [PATCH v5 1/2] rust: netlink: add raw netlink abstraction From: Alice Ryhl To: Jakub Kicinski Cc: Donald Hunter , Greg Kroah-Hartman , Andrew Lunn , "David S. Miller" , Carlos Llamas , Eric Dumazet , Paolo Abeni , Simon Horman , Matthew Maurer , Miguel Ojeda , Boqun Feng , Gary Guo , "=?utf-8?B?QmrDtnJu?= Roy Baron" , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , Christian Brauner , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wed, May 27, 2026 at 07:21:30PM -0700, Jakub Kicinski wrote: > On Wed, 27 May 2026 10:00:40 +0000 Alice Ryhl wrote: > > On Tue, May 26, 2026 at 04:29:26PM +0200, Miguel Ojeda wrote: > > > On Mon, May 25, 2026 at 3:17=E2=80=AFPM Alice Ryhl wrote: =20 > > > > > > > > This implements a safe and relatively simple API over the netlink A= PI, > > > > that allows you to add different attributes to a netlink message an= d > > > > broadcast it. As the first user of this API only makes use of broad= cast, > > > > only broadcast messages are supported here. =20 > > > =20 > > > > rust/kernel/netlink.rs | 336 ++++++++++++++++++++++++++++= ++++++++++++ =20 > > >=20 > > > This should be added to an existing or new `MAINTAINERS` entry, i.e. > > > as usual, either inheriting it if the maintainers want, or delegating > > > it to a sub- or co-maintainer, etc. depending on what people want. = =20 >=20 > Good call, missed this isn't under rust/kernel/net >=20 > > Netdev maintainers, what do you prefer that I put for these files? I'm > > of course happy to be on the hook for this code. >=20 > Can we put it under rust/kernel/net and rust/helpers/net ? > And then add those directories to networking ? > Just so that we don't have to keep wondering with every little piece=20 > of code. Sure, will do. However, it doesn't look like rust/kernel/net/ is listed under any MAINTAINERS entry either. > > Of course, it would be useful to have others listed here, as I'm sure I > > will have questions about how networking works if there are patches in > > this area. Or perhaps the netdev@ list itself is enough for that to > > reach the right people? > >=20 > > With regards to actually merging code in this area, then I think for > > this particular series it is simpler to let Greg take it through > > char-misc with all the other Binder changes. But for any future changes > > to netlink.rs, I think it makes sense for them to land through the > > netdev tree. >=20 > SG, once acked it can go via any tree. Greg's tree make sense. SG, thanks! Alice