summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2018-12-06 19:14:34 +0000
committerMichael S. Tsirkin <mst@redhat.com>2018-12-06 14:22:34 -0500
commitc38f57da428b033f2721b611d84b1f40bde674a8 (patch)
treec65567f936e34db07096b4003010c8ba64fe9022 /.mailmap
parent2595646791c319cadfdbf271563aac97d0843dc7 (diff)
downloadlinux-c38f57da428b033f2721b611d84b1f40bde674a8.tar.bz2
vhost/vsock: fix reset orphans race with close timeout
If a local process has closed a connected socket and hasn't received a RST packet yet, then the socket remains in the table until a timeout expires. When a vhost_vsock instance is released with the timeout still pending, the socket is never freed because vhost_vsock has already set the SOCK_DONE flag. Check if the close timer is pending and let it close the socket. This prevents the race which can leak sockets. Reported-by: Maximilian Riemensberger <riemensberger@cadami.net> Cc: Graham Whaley <graham.whaley@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions