Searched hist:"7 c1e0926da18051f4a09da1e380591213b0cdb5f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/kernel/ |
H A D | taskstats.c | diff 7c1e0926da18051f4a09da1e380591213b0cdb5f Fri Oct 02 16:49:58 CDT 2020 Jakub Kicinski <kuba@kernel.org> 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>
|