Commit 7311719
CKI Backport Bot
wireguard: netlink: use NLA_POLICY_MASK where possible
JIRA: https://issues.redhat.com/browse/RHEL-96621
commit c852902
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date: Wed May 21 23:27:05 2025 +0200
wireguard: netlink: use NLA_POLICY_MASK where possible
Rather than manually validating flags against the various __ALL_*
constants, put this in the netlink policy description and have the upper
layer machinery check it for us.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Link: https://patch.msgid.link/20250521212707.1767879-4-Jason@zx2c4.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: CKI Backport Bot <cki-ci-bot+cki-gitlab-backport-bot@redhat.com>1 parent c8d134d commit 7311719
1 file changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | 376 | | |
380 | 377 | | |
381 | 378 | | |
| |||
506 | 503 | | |
507 | 504 | | |
508 | 505 | | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | 506 | | |
513 | 507 | | |
514 | 508 | | |
| |||
0 commit comments