Asbjørn Sloth Tønnesen
aea199fa15
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 >
2025-12-01 03:25:09 +01:00
..
2025-10-14 08:56:31 -06:00
2025-11-26 10:17:10 -08:00
2025-11-25 19:20:42 -08:00
2025-11-20 13:37:18 +01:00
2025-11-25 12:39:26 +01:00
2025-11-18 15:47:55 +01:00
2025-10-20 13:54:15 +02:00
2025-11-06 09:27:40 -08:00
2025-11-20 17:01:44 -05:00
2025-10-04 16:26:32 -07:00
2025-09-11 19:13:21 +01:00
2025-10-04 16:26:32 -07:00
2025-10-18 14:33:22 +03:00
2025-10-23 02:06:47 +08:00
2025-10-07 08:40:15 -07:00
2025-10-22 08:03:52 +02:00
2025-08-24 17:02:03 +09:00
2025-11-12 17:59:37 +01:00
2025-11-06 15:44:18 -08:00
2025-11-20 19:01:22 -08:00
2025-11-07 09:22:10 -07:00
2025-09-15 16:09:42 +02:00
2025-10-15 10:39:54 -04:00
2025-11-27 18:11:43 -08:00
2025-10-06 10:37:06 -07:00
2025-10-24 16:56:37 +01:00
2025-11-25 19:20:42 -08:00
2025-11-11 14:59:04 +01:00
2025-09-08 15:13:06 +09:00
2025-11-16 21:30:26 +09:00
2025-10-23 22:30:01 +02:00
2025-09-22 10:33:10 -03:00
2025-11-19 12:00:28 +01:00
2025-11-21 18:33:07 +10:00
2025-11-22 09:58:41 -08:00
2025-09-05 22:56:59 +02:00
2025-10-01 00:00:45 +00:00
2025-11-12 11:54:37 -08:00
2025-10-04 16:26:32 -07:00
2025-11-03 18:04:15 +01:00
2025-09-29 00:17:22 +02:00
2025-09-01 17:32:25 +02:00
2025-09-23 14:15:25 +02:00
2025-11-14 18:55:38 -08:00
2025-11-17 23:16:55 -08:00
2025-09-12 13:54:17 +03:00
2025-11-21 15:38:27 -04:00
2025-11-14 16:52:34 +01:00
2025-11-10 18:14:20 -08:00
2025-09-16 16:49:28 +01:00
2025-10-08 11:44:21 -07:00
2025-11-21 12:51:41 +01:00
2025-10-24 11:16:26 +02:00
2025-10-23 15:32:21 +02:00
2025-10-02 18:18:33 -07:00
2025-10-03 10:38:23 -05:00
2025-10-26 10:33:46 -07:00
2025-11-11 17:47:47 +01:00
2025-10-22 08:04:43 +02:00
2025-11-03 11:37:57 +01:00
2025-12-01 03:25:09 +01:00
2025-11-17 19:32:32 -08:00
2025-09-22 09:35:21 -04:00
2025-10-06 11:17:18 -07:00
2025-11-27 12:19:08 -08:00
2025-10-22 08:02:38 +02:00
2025-10-24 07:44:09 -05:00
2025-08-26 10:40:58 +05:30
2025-11-20 09:13:26 -08:00
2025-08-28 22:43:23 +02:00
2025-11-16 10:37:38 -07:00
2025-10-06 10:34:22 -07:00
2025-11-18 23:56:11 +01:00
2025-11-27 08:51:36 -08:00
2025-11-04 17:29:00 +01:00
2025-08-25 17:30:16 +02:00
2025-11-26 12:31:48 -08:00
2025-08-21 21:57:54 +02:00
2025-09-06 16:00:40 +02:00
2025-09-06 17:01:26 +05:30
2025-11-26 16:56:34 -08:00
2025-11-14 11:55:56 +01:00
2025-09-15 16:20:29 +02:00
2025-11-05 11:56:16 +00:00
2025-10-04 15:45:17 -07:00
2025-11-05 16:12:28 +01:00
2025-09-20 21:29:48 -05:00
2025-11-08 20:56:12 +01:00
2025-11-20 09:13:26 -08:00
2025-11-19 22:46:36 -05:00
2025-09-06 15:59:59 +02:00
2025-11-04 19:10:32 -08:00
2025-11-04 19:15:36 -08:00
2025-10-06 10:32:22 -07:00
2025-11-10 14:03:53 +00:00
2025-10-13 10:55:03 +02:00
2025-11-27 12:19:08 -08:00
2025-10-17 15:26:52 +02:00
2025-10-02 10:41:58 +02:00
2025-09-23 17:16:38 +02:00
2025-10-22 12:13:54 +02:00
2025-10-29 23:20:19 -04:00
2025-10-07 08:40:15 -07:00
2025-10-24 13:52:58 +02:00
2025-11-11 15:12:18 +01:00
2025-10-28 15:54:41 -06:00
2025-11-26 14:44:58 -08:00
2025-10-28 22:59:19 +01:00
2025-09-29 18:48:39 -07:00
2025-10-04 08:48:16 -07:00
2025-08-31 14:14:07 +02:00
2025-10-06 11:00:30 -07:00
2025-11-04 19:10:32 -08:00
2025-09-15 14:30:17 +02:00
2025-10-07 08:40:15 -07:00