diff options
| author | 2025-11-26 17:35:35 +0000 | |
|---|---|---|
| committer | 2025-12-01 03:25:09 +0100 | |
| commit | 73af07d7f2f60914d9ad6b4ec102248196f8ceb9 (patch) | |
| tree | 43f03f761f474d344a850f086ca9790b1a9a5e8a /rust/kernel/irq/request.rs | |
| parent | wireguard: netlink: use WG_KEY_LEN in policies (diff) | |
| download | wireguard-linux-73af07d7f2f60914d9ad6b4ec102248196f8ceb9.tar.xz wireguard-linux-73af07d7f2f60914d9ad6b4ec102248196f8ceb9.zip | |
wireguard: netlink: convert to split ops
This patch converts WireGuard from using the legacy struct genl_ops
to struct genl_split_ops, by applying the same transformation as
genl_cmd_full_to_split() would otherwise do at runtime.
WGDEVICE_A_MAX is swapped for WGDEVICE_A_PEERS, while they are
currently equivalent, then .maxattr should be the maximum attribute
that a given command supports, and not change along with WGDEVICE_A_MAX.
This is an incremental step towards adopting netlink policy code
generated by ynl-gen, ensuring that the code and spec is aligned.
This is a trivial patch with no behavioural changes intended.
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'rust/kernel/irq/request.rs')
0 files changed, 0 insertions, 0 deletions
