aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/irq/request.rs
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>2025-11-26 17:35:33 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2025-12-01 03:25:09 +0100
commitaea199fa157164ed0824d14dddd6c6fa28e130e4 (patch)
tree37088010124ea77fc6a34b1690ade4f7bd538a6f /rust/kernel/irq/request.rs
parentwireguard: netlink: enable strict genetlink validation (diff)
downloadwireguard-linux-aea199fa157164ed0824d14dddd6c6fa28e130e4.tar.xz
wireguard-linux-aea199fa157164ed0824d14dddd6c6fa28e130e4.zip
wireguard: netlink: validate nested arrays in policy
Use NLA_POLICY_NESTED_ARRAY() to perform nested array validation in the policy validation step. The nested policy was already enforced through nla_parse_nested(), however extack wasn't passed previously, so no fancy error messages. With the nested attributes being validated directly in the policy, the policy argument can be set to NULL in the calls to nla_parse_nested(). Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'rust/kernel/irq/request.rs')
0 files changed, 0 insertions, 0 deletions