summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2016-04-21 15:43:58 -0700
committerAmit Pundir <amit.pundir@linaro.org>2016-05-19 12:32:41 +0530
commit99bbdddee077677da9acc8dd340ab206781f8614 (patch)
tree2b5bcdad059d57920b33dfe151a03bd4cd11c268 /net/ipv4/tcp.c
parent7f3c0b7b8a48d16707bc9d332b2dda175312ce50 (diff)
Revert "Don't kill IPv4 sockets when killing IPv6 sockets was requested."
This reverts commit 8bf4413b4f54e24120b90ecbfee426beeddc3ff0.
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r--net/ipv4/tcp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index e23f2c529eca..edd1312ba73d 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -3335,8 +3335,6 @@ restart:
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
if (family == AF_INET6) {
struct in6_addr *s6;
- if (!inet->pinet6)
- continue;
s6 = &sk->sk_v6_rcv_saddr;
if (ipv6_addr_type(s6) == IPV6_ADDR_MAPPED)