summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2020-10-02 23:49:58 +0200
committerDavid S. Miller <davem@davemloft.net>2020-10-03 04:11:12 +0200
commit7c1e0926da18051f4a09da1e380591213b0cdb5f (patch)
tree687ec686ca5b738e7331e7686bdb2e04c957f49d /net/netlink
parentgenetlink: bring back per op policy (diff)
downloadlinux-7c1e0926da18051f4a09da1e380591213b0cdb5f.tar.xz
linux-7c1e0926da18051f4a09da1e380591213b0cdb5f.zip
taskstats: move specifying netlink policy back to ops
commit 3b0f31f2b8c9 ("genetlink: make policy common to family") had to work around removal of policy from ops by parsing in the pre_doit callback. Now that policy is back in full ops we can switch again. Set maxattr to actual size of the policies - both commands set GENL_DONT_VALIDATE_STRICT so out of range attributes will be silently ignored, anyway. v2: - remove stale comment Suggested-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions