Skip to content
Commit de437089 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller
Browse files

af_unix: Show number of inflight fds for sockets in TCP_LISTEN state too



TCP_LISTEN sockets is a special case. They preserve skb with a newly
connected sock till accept() makes it fully functional socket.
Receive queue of such socket may grow after connected peer
send messages there. Since these messages may contain scm_fds,
we should expose correct fdinfo::scm_fds for listening socket too.

Signed-off-by: default avatarKirill Tkhai <tkhai@ya.ru>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 917edfb9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment