commit | 329d9c333ee4a904341d555b72cd6218f4104d53 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Mon Oct 05 15:07:36 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 06 06:25:55 2020 -0700 |
tree | 21ad16925587cc34e707ba4f7585919f193f8ba9 | |
parent | ff419afa43109e05d42d75629f21d9fd87f635ea [diff] |
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>