aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r--net/ipv4/tcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index d763fae1b574..0c31be306572 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -3545,6 +3545,7 @@ int tcp_abort(struct sock *sk, int err)
3545 3545
3546 bh_unlock_sock(sk); 3546 bh_unlock_sock(sk);
3547 local_bh_enable(); 3547 local_bh_enable();
3548 tcp_write_queue_purge(sk);
3548 release_sock(sk); 3549 release_sock(sk);
3549 return 0; 3550 return 0;
3550} 3551}