Thread (24 messages) 24 messages, 3 authors, 2021-05-18

Re: [Patch bpf-next v3 03/10] af_unix: implement ->psock_update_sk_prot()

From: Cong Wang <hidden>
Date: 2021-05-07 00:56:11
Also in: bpf

On Thu, May 6, 2021 at 6:04 AM Jakub Sitnicki [off-list ref] wrote:
I think we also need unhash so that socket gets removed from sockmap
on disconnect, that is connect(fd, {sa_family=AF_UNSPEC, ...}, ...).
Excellent catch! I thought disconnect is not supported for AF_UNIX
as there is not ->disconnect() in af_unix.c, but after reading
unix_dgram_connect() again, it is actually supported. Let me think
about how to handle this properly here.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help