Jakub Kicinski 329d9c333e ethtool: link up ethnl_header_policy as a nested policy
To get the most out of parsing by the core, and to allow dumping
full policies we need to specify which policy applies to nested
attrs. For headers it's ethnl_header_policy.

$ sed -i 's@\(ETHTOOL_A_.*HEADER\].*=\) { .type = NLA_NESTED },@\1\n\t\tNLA_POLICY_NESTED(ethnl_header_policy),@' net/ethtool/*

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-10-06 06:25:55 -07:00
..
2020-09-18 14:12:43 -07:00
2020-09-30 14:21:30 -07:00
2020-10-06 06:23:21 -07:00
2020-10-06 06:23:21 -07:00
2020-08-27 07:55:59 -07:00
2020-10-06 06:08:06 -07:00
2020-09-20 19:09:11 -07:00
2020-10-06 06:23:21 -07:00