aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2014-03-31 11:19:52 -0700
committerJohn Stultz <john.stultz@linaro.org>2014-03-31 11:21:28 -0700
commit2609fbf2f5158f57b1c41a5fa2c18fffc6016342 (patch)
treed36dc7c76d397160b2d30a9906cf27e43e6616b2
parent31186cbfde9dea8baedf981bb811016517389340 (diff)
Since the line below was changed to access the sk_v6_rcv_saddr directly, we don't need to check the pinet6 value for null. Signed-off-by: John Stultz <john.stultz@linaro.org>
-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 32c714a533c5..ad80ad2e946b 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -3316,8 +3316,6 @@ restart:
#if defined(CONFIG_IPV6)
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)