diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-04-30 22:13:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-30 17:51:41 -0700 |
commit | 47a1494b8208461094923400c396ce4b8163c064 (patch) | |
tree | 922bbadbfa571fae66f3c3503d7e2331c403c632 /fs | |
parent | 4d73ce19243eaea6277310e971131a74eb3b1ef0 (diff) |
netlink: remove type-unsafe validation_data pointer
In the netlink policy, we currently have a void *validation_data
that's pointing to different things:
* a u32 value for bitfield32,
* the netlink policy for nested/nested array
* the string for NLA_REJECT
Remove the pointer and place appropriate type-safe items in the
union instead.
While at it, completely dissolve the pointer for the bitfield32
case and just put the value there directly.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions