diff options
author | Jorgen Hansen <jhansen@vmware.com> | 2016-09-26 23:59:53 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-27 07:59:25 -0400 |
commit | 1190cfdb1a19d89561ae51cff7d9c2ead24b3ebe (patch) | |
tree | c7c3e0042bd4ab2e75eb98a275788bd59cf1ac57 /net/vmw_vsock/vmci_transport_notify.c | |
parent | bf1a85a8381a0f749aa321d7881b456b36eb398d (diff) |
VSOCK: Don't dec ack backlog twice for rejected connections
If a pending socket is marked as rejected, we will decrease the
sk_ack_backlog twice. So don't decrement it for rejected sockets
in vsock_pending_work().
Testing of the rejected socket path was done through code
modifications.
Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Jorgen Hansen <jhansen@vmware.com>
Reviewed-by: Adit Ranadive <aditr@vmware.com>
Reviewed-by: Aditya Sarwade <asarwade@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock/vmci_transport_notify.c')
0 files changed, 0 insertions, 0 deletions