diff options
author | Jorgen Hansen <jhansen@vmware.com> | 2016-09-27 08:59:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-27 13:59:25 +0200 |
commit | 1190cfdb1a19d89561ae51cff7d9c2ead24b3ebe (patch) | |
tree | c7c3e0042bd4ab2e75eb98a275788bd59cf1ac57 /COPYING | |
parent | Revert "net: ethernet: bcmgenet: use phydev from struct net_device" (diff) | |
download | linux-1190cfdb1a19d89561ae51cff7d9c2ead24b3ebe.tar.xz linux-1190cfdb1a19d89561ae51cff7d9c2ead24b3ebe.zip |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions