diff options
author | 2024-12-13 09:44:57 +0100 | |
---|---|---|
committer | 2024-12-16 18:16:44 -0800 | |
commit | e45469e594b255ef8d750ed5576698743450d2ac (patch) | |
tree | 2f7a88d7a10614ad70b6a7974d5395f4b0ce6777 /net/unix/af_unix.c | |
parent | selftests: net: test SO_PRIORITY ancillary data with cmsg_sender (diff) | |
download | wireguard-linux-e45469e594b255ef8d750ed5576698743450d2ac.tar.xz wireguard-linux-e45469e594b255ef8d750ed5576698743450d2ac.zip |
sock: Introduce SO_RCVPRIORITY socket option
Add new socket option, SO_RCVPRIORITY, to include SO_PRIORITY in the
ancillary data returned by recvmsg().
This is analogous to the existing support for SO_RCVMARK,
as implemented in commit 6fd1d51cfa253 ("net: SO_RCVMARK socket option
for SO_MARK with recvmsg()").
Reviewed-by: Willem de Bruijn <willemb@google.com>
Suggested-by: Ferenc Fejes <fejes@inf.elte.hu>
Signed-off-by: Anna Emese Nyiri <annaemesenyiri@gmail.com>
Link: https://patch.msgid.link/20241213084457.45120-5-annaemesenyiri@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions