From 7ddf5ede47abe686371bbd99e8f712213895e4e0 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 15 Nov 2024 15:49:33 +0100 Subject: 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. --- sys/linux/socket_netlink.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/linux/socket_netlink.txt') 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 [ -- cgit mrf-deployment