X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=net%2Fipv6%2Ftcp_ipv6.c;h=b585c850a89a3737b1b6a19aab62dd7dd1cee5cb;hb=d315492b1a6ba29da0fa2860759505ae1b2db857;hp=5b90b369ccb2577d41e7ac4ab1f4993147e6108f;hpb=49b75b87ce2dfbd99e59a50c3681b154d07e3a22;p=mirror_ubuntu-zesty-kernel.git diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 5b90b369ccb2..b585c850a89a 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -2148,6 +2148,7 @@ static int tcpv6_net_init(struct net *net) static void tcpv6_net_exit(struct net *net) { inet_ctl_sock_destroy(net->ipv6.tcp_sk); + inet_twsk_purge(net, &tcp_hashinfo, &tcp_death_row, AF_INET6); } static struct pernet_operations tcpv6_net_ops = {