mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
Add dgram_disconnect_fdinfo in scm_rights.c verifying that scm_fds in /proc/self/fdinfo/<fd> returns to 0 when a connected SOCK_DGRAM socket with queued SCM_RIGHTS datagrams disconnects via connect(AF_UNSPEC) or observes a dead peer in send(). Signed-off-by: Siddharth Chintamaneni <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>