summaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorCong Wang <cong.wang@bytedance.com>2021-07-04 22:02:45 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-07-16 04:17:50 +0300
commit83301b5367a98c17ec0d76c7bc0ccdc3c7e7ad6d (patch)
tree41df0f676467ff7bf58da5bef2384923144ceed7 /net/unix/sysctl_net_unix.c
parent29df44fa52b70c330d8f2a3871e028a3522b8494 (diff)
downloadlinux-83301b5367a98c17ec0d76c7bc0ccdc3c7e7ad6d.tar.xz
af_unix: Set TCP_ESTABLISHED for datagram sockets too
Currently only unix stream socket sets TCP_ESTABLISHED, datagram socket can set this too when they connect to its peer socket. At least __ip4_datagram_connect() does the same. This will be used to determine whether an AF_UNIX datagram socket can be redirected to in sockmap. Signed-off-by: Cong Wang <cong.wang@bytedance.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210704190252.11866-5-xiyou.wangcong@gmail.com
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions