diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-04-30 23:13:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-01 03:51:41 +0300 |
commit | 47a1494b8208461094923400c396ce4b8163c064 (patch) | |
tree | 922bbadbfa571fae66f3c3503d7e2331c403c632 /net/netlink | |
parent | 4d73ce19243eaea6277310e971131a74eb3b1ef0 (diff) | |
download | linux-47a1494b8208461094923400c396ce4b8163c064.tar.xz |
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 'net/netlink')
0 files changed, 0 insertions, 0 deletions