]> Git Repo - linux.git/commit
af_unix: Add OOB support
authorRao Shoaib <[email protected]>
Sun, 1 Aug 2021 07:57:07 +0000 (00:57 -0700)
committerDavid S. Miller <[email protected]>
Wed, 4 Aug 2021 08:55:52 +0000 (09:55 +0100)
commit314001f0bf927015e459c9d387d62a231fe93af3
tree3f5a7d31a347e495833cffdbd638852111bbb78c
parent7e89350c901923c48370ae7b922223c6c5a2b7fd
af_unix: Add OOB support

This patch adds OOB support for AF_UNIX sockets.
The semantics is same as TCP.

The last byte of a message with the OOB flag is
treated as the OOB byte. The byte is separated into
a skb and a pointer to the skb is stored in unix_sock.
The pointer is used to enforce OOB semantics.

Signed-off-by: Rao Shoaib <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/af_unix.h
net/unix/Kconfig
net/unix/af_unix.c
tools/testing/selftests/Makefile
tools/testing/selftests/net/af_unix/Makefile [new file with mode: 0644]
tools/testing/selftests/net/af_unix/test_unix_oob.c [new file with mode: 0644]
This page took 0.072574 seconds and 4 git commands to generate.