aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-11-15 15:49:33 +0100
committerDmitry Vyukov <dvyukov@google.com>2024-11-18 09:29:33 +0000
commit7ddf5ede47abe686371bbd99e8f712213895e4e0 (patch)
treeb2ad719c346d6d776085fd9ea2270a446afec8a0 /sys/linux
parent4efd46f20fcf44af31c81f62f562cecb50653451 (diff)
sys/linux: remove nl_generic_attr_nonested hack
It was needed to work around restriction on recursion via arrays. Since we permit it now, we can remove the hack.
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/socket_netlink.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/linux/socket_netlink.txt b/sys/linux/socket_netlink.txt
index 79cfc10f5..7881a9a82 100644
--- a/sys/linux/socket_netlink.txt
+++ b/sys/linux/socket_netlink.txt
@@ -120,12 +120,7 @@ define NETLINK_MAX_ATTRIBUTES NL80211_ATTR_MAX
nl_generic_attr [
generic array[int8]
typed nlattr_tt[int16:14[0:NETLINK_MAX_ATTRIBUTES], 0, 0, nl_generic_attr_data]
- nested nlattr_tt[int16:14[0:NETLINK_MAX_ATTRIBUTES], 0, 1, array[nl_generic_attr_nonested]]
-] [varlen]
-
-nl_generic_attr_nonested [
- generic array[int8]
- typed nlattr_tt[int16:14[0:NETLINK_MAX_ATTRIBUTES], 0, 0, nl_generic_attr_data]
+ nested nlattr_tt[int16:14[0:NETLINK_MAX_ATTRIBUTES], 0, 1, array[nl_generic_attr]]
] [varlen]
nl_generic_attr_data [