summaryrefslogtreecommitdiffstats
path: root/net/vmw_vsock
diff options
context:
space:
mode:
authorAlexey Kodanev2018-01-26 13:14:16 +0100
committerDavid S. Miller2018-01-26 17:15:00 +0100
commitdd5684ecae3bd8e44b644f50e2c12c7e57fdfef5 (patch)
tree6f04791133e716d485656413cef7d9f47b421279 /net/vmw_vsock
parentnet: vrf: Add support for sends to local broadcast address (diff)
downloadkernel-qcow2-linux-dd5684ecae3bd8e44b644f50e2c12c7e57fdfef5.tar.gz
kernel-qcow2-linux-dd5684ecae3bd8e44b644f50e2c12c7e57fdfef5.tar.xz
kernel-qcow2-linux-dd5684ecae3bd8e44b644f50e2c12c7e57fdfef5.zip
dccp: don't restart ccid2_hc_tx_rto_expire() if sk in closed state
ccid2_hc_tx_rto_expire() timer callback always restarts the timer again and can run indefinitely (unless it is stopped outside), and after commit 120e9dabaf55 ("dccp: defer ccid_hc_tx_delete() at dismantle time"), which moved ccid_hc_tx_delete() (also includes sk_stop_timer()) from dccp_destroy_sock() to sk_destruct(), this started to happen quite often. The timer prevents releasing the socket, as a result, sk_destruct() won't be called. Found with LTP/dccp_ipsec tests running on the bonding device, which later couldn't be unloaded after the tests were completed: unregister_netdevice: waiting for bond0 to become free. Usage count = 148 Fixes: 2a91aa396739 ("[DCCP] CCID2: Initial CCID2 (TCP-Like) implementation") Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions