From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) (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 72643330650 for ; Thu, 28 May 2026 06:25:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779949555; cv=none; b=XvThXwKfNkoxf9hX1+okXmxGDOuKsnYEOwedS6dQzPto5uDqjCqbT9sozQJbFol291k2qjzMEbi6oUlsbPqm0yaCo1he/UzA8xbwz1LR4lqj0eHxE1uC3icCleb79+NdanxTO/G0+3sPDiCAJqr0Y0OuFtwGxAPXswcrF7r+okI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779949555; c=relaxed/simple; bh=2ju0gi2msI4LA4jLVYYeoWcL+MgWV/250G5FJn9IDHU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=EwdjNkDK3TfGbob/OtongHGSWO0D0Xe81hT7D0RRNcfxIuI7ww//U3BWGNcjq7XIbXO2xMRreq8CovWv79bjEK+11HdBuVJRIujhbBsTxxVQPZ21KltYyuLp355m5t75lgf7Vgb0GwLV7aauPxOGCxkBNUPsmVZOLSjWObxYN9w= 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.73 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-f73.google.com with SMTP id 5b1f17b1804b1-48fde68e420so96087505e9.0 for ; Wed, 27 May 2026 23:25:52 -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=PZoXvjHjQT62e5RB1e8pqBl2cFeWxHxsYweizD5YINUeanbfM+ktw1XIyE9YpjD7aX FzGwuY6H5DHrpwNmciombp7KsZp/MHKSspGL2ogXsmdOGjEwhm76EqH8TkSOxzAAUgYL ydS/qKQVxK81grziklpFaiiTPRaP26aOnHIwME+ipivPJ526znsRzKyLkfQo6sfMgwTC jmuYivjVroyfPgtmWDL1VaKR1YVoIY+qefkZOAC2eDxbWEQF49hvE0PxptcF+eRJglOf 8Rssf2GMUeEzcU4yTKxLSo+A79hqk+c3VAr1TCPddGb/Ms8AoDrYlTkhfWZyosRDjxZ/ p+0w== X-Forwarded-Encrypted: i=1; AFNElJ9Dh22M+J5deG5CxuRU/3bGQdB+/WKkmE8cqCFkxqz+AOutByf/ub5fI1ZeJUeGCMzQ2eWT6CrlqJbUzxY=@vger.kernel.org X-Gm-Message-State: AOJu0Yzs9x6EFIH9FkYBZsbF+NPyF1YYM/WztmVFCH+Cl75zsdDssDnt WKNzsugDTkjGQOMrpS3Kpl9BaGnjBcIe+SHo+8YMIdgnSU6ZIw6Sq/oGxHbbu6hdpI8km5DLeJJ y7HyWUyJUeNjoIODL2Q== 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: linux-kernel@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