[PATCH v6 1/3] rust: net: add rust/kernel/net to NETWORKING [GENERAL]

From: Alice Ryhl

Date: Fri May 29 2026 - 09:30:23 EST


To ensure that networking code can be found in a single shared place,
add it to the relevant NETWORKING entry. The net.rs file is moved into
the net/ directory so that it's included under the MAINTAINERS entry
without needing a separate rust/kernel/net.rs entry.

Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
MAINTAINERS | 2 ++
rust/kernel/{net.rs => net/mod.rs} | 0
2 files changed, 2 insertions(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index a61a229670b3..08bbe8e0a74a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -18612,6 +18612,8 @@ F: include/uapi/linux/sctp.h
F: lib/net_utils.c
F: lib/random32.c
F: net/
+F: rust/helpers/net/
+F: rust/kernel/net/
F: samples/pktgen/
F: tools/net/
F: tools/testing/selftests/net/
diff --git a/rust/kernel/net.rs b/rust/kernel/net/mod.rs
similarity index 100%
rename from rust/kernel/net.rs
rename to rust/kernel/net/mod.rs

--
2.54.0.823.g6e5bcc1fc9-goog