Thread (4 messages) 4 messages, 4 authors, 27d ago

Re: [PATCH v3] rust: net: netlink: Migrate to zerocopy's IntoBytes

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-18 00:11:20
Also in: lkml, rust-for-linux

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Tue, 15 Sep 2026 14:42:44 +0000 you wrote:
Replace the kernel's own `transmute::FromBytes` and `AsBytes` traits
with their zerocopy equivalents. Specifically, this updates
`GenlMsg::put` to rely on `IntoBytes` for converting attributes into
byte slices.

Also, add `Immutable` trait bound on `GenlMsg::put` as zerocopy
splits the `no interior mutability` guarantee that `AsBytes` bundled
together.

[...]
Here is the summary with links:
  - [v3] rust: net: netlink: Migrate to zerocopy's IntoBytes
    https://git.kernel.org/netdev/net-next/c/5e5916923759

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help