diff options
| author | Anna Emese Nyiri <[email protected]> | 2024-12-13 08:44:54 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-17 02:11:06 +0000 |
| commit | 77ec16be758ea65de641833149963bec39f311da (patch) | |
| tree | 285bdd3bbece1c310125abe5966f77ee3032fcb0 /net/unix/af_unix.c | |
| parent | netlink: specs: add phys-binding attr to rt_link spec (diff) | |
| download | kernel-77ec16be758ea65de641833149963bec39f311da.tar.gz kernel-77ec16be758ea65de641833149963bec39f311da.zip | |
sock: Introduce sk_set_prio_allowed helper function
Simplify priority setting permissions with the 'sk_set_prio_allowed'
function, centralizing the validation logic. This change is made in
anticipation of a second caller in a following patch.
No functional changes.
Reviewed-by: Willem de Bruijn <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Suggested-by: Willem de Bruijn <[email protected]>
Signed-off-by: Anna Emese Nyiri <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
