summaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorChristoph Paasch <christoph.paasch@uclouvain.be>2012-09-18 14:19:23 +0000
committerDavid S. Miller <davem@davemloft.net>2012-09-20 17:12:27 -0400
commitbb68b64724a4fd6b93d83b39aeffa4aadb2562fc (patch)
treeed1e4a45bc924fb064d36b6ec12359eab19aa875 /net/ipv4/af_inet.c
parent9baa0b0364103dd726384c71db30b74044754743 (diff)
downloadop-kernel-dev-bb68b64724a4fd6b93d83b39aeffa4aadb2562fc.zip
op-kernel-dev-bb68b64724a4fd6b93d83b39aeffa4aadb2562fc.tar.gz
ipv4: Don't add TCP-code in inet_sock_destruct
Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be> Acked-by: H.K. Jerry Chu <hkchu@google.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index 845372b..766c596 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -149,8 +149,6 @@ void inet_sock_destruct(struct sock *sk)
pr_err("Attempt to release alive inet socket %p\n", sk);
return;
}
- if (sk->sk_protocol == IPPROTO_TCP)
- kfree(inet_csk(sk)->icsk_accept_queue.fastopenq);
WARN_ON(atomic_read(&sk->sk_rmem_alloc));
WARN_ON(atomic_read(&sk->sk_wmem_alloc));
OpenPOWER on IntegriCloud