aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorArseniy Krasnov <[email protected]>2023-07-25 17:29:10 +0000
committerPaolo Abeni <[email protected]>2023-07-27 13:51:48 +0000
commita75f501de88e58db24dc8822505f924cd1085ac6 (patch)
treecd7e4bc019431ae868ba6e05bb7d65418bef5bc5 /net/unix/af_unix.c
parentvirtio/vsock: rework MSG_PEEK for SOCK_STREAM (diff)
downloadkernel-a75f501de88e58db24dc8822505f924cd1085ac6.tar.gz
kernel-a75f501de88e58db24dc8822505f924cd1085ac6.zip
virtio/vsock: support MSG_PEEK for SOCK_SEQPACKET
This adds support of MSG_PEEK flag for SOCK_SEQPACKET type of socket. Difference with SOCK_STREAM is that this callback returns either length of the message or error. Signed-off-by: Arseniy Krasnov <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions