mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-28 20:03:05 +00:00
Merge branch 'add-support-for-so_priority-cmsg'
Anna Emese Nyiri says: ==================== Add support for SO_PRIORITY cmsg Introduce a new helper function, `sk_set_prio_allowed`, to centralize the logic for validating priority settings. Add support for the `SO_PRIORITY` control message, enabling user-space applications to set socket priority via control messages (cmsg). ==================== Link: https://patch.msgid.link/20241213084457.45120-1-annaemesenyiri@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
9163b05eca
23 changed files with 228 additions and 16 deletions
11
net/socket.c
11
net/socket.c
151
tools/testing/selftests/net/cmsg_so_priority.sh
Executable file
151
tools/testing/selftests/net/cmsg_so_priority.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue