diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-10-02 14:49:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-02 19:11:12 -0700 |
commit | 48526a0f4ca2b484cab4318dc0b2c2be1d8685b7 (patch) | |
tree | 4f3c795650dde693e5238ec4ffde5aa80c343d4f /kernel/taskstats.c | |
parent | 78ade619c16599c8a962451aad15f56bceed316b (diff) |
genetlink: bring back per op policy
Add policy to the struct genl_ops structure, this time
with maxattr, so it can be used properly.
Propagate .policy and .maxattr from the family
in genl_get_cmd() if needed, this way the rest of the
code does not have to worry if the policy is per op
or global.
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 'kernel/taskstats.c')
0 files changed, 0 insertions, 0 deletions