]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'netlink-specs-remove-phantom-structs'
authorJakub Kicinski <kuba@kernel.org>
Thu, 8 May 2025 01:21:52 +0000 (18:21 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 May 2025 01:21:52 +0000 (18:21 -0700)
Jakub Kicinski says:

====================
netlink: specs: remove phantom structs

rt-netlink and nl80211 have a few structs which may be helpful for Python
decoding of binary attrs, but which don't actually exist in the C uAPI.
This prevents us from using struct pointers for binary types in C.

We could support this situation better in the codegen, or add these
structs to uAPI. That said Johannes suggested we remove the WiFi
structs for now, and the rt-link ones are semi-broken.
Drop the struct definitions, for now, if someone has a need to use
such structs in Python (as opposed to them being defined for completeness)
we can revist.

v1: https://lore.kernel.org/20250505170215.253672-1-kuba@kernel.org
====================

Link: https://patch.msgid.link/20250506194101.696272-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge