diff options
author | Jorgen Hansen <jhansen@vmware.com> | 2016-09-27 09:59:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-27 14:59:25 +0300 |
commit | 1190cfdb1a19d89561ae51cff7d9c2ead24b3ebe (patch) | |
tree | c7c3e0042bd4ab2e75eb98a275788bd59cf1ac57 /net/sched/act_ife.c | |
parent | bf1a85a8381a0f749aa321d7881b456b36eb398d (diff) | |
download | linux-1190cfdb1a19d89561ae51cff7d9c2ead24b3ebe.tar.xz |
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/sched/act_ife.c')
0 files changed, 0 insertions, 0 deletions