aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAnna Emese Nyiri <[email protected]>2024-12-13 08:44:54 +0000
committerJakub Kicinski <[email protected]>2024-12-17 02:11:06 +0000
commit77ec16be758ea65de641833149963bec39f311da (patch)
tree285bdd3bbece1c310125abe5966f77ee3032fcb0 /net/unix/af_unix.c
parentnetlink: specs: add phys-binding attr to rt_link spec (diff)
downloadkernel-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