Subject: [PATCH] nethost: For tcp always use an abosolute comparision of the host. From: Eric W. Biederman Date: 1134239258 -0700 --- net/ipv4/inet_hashtables.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 46cafca3cd8850b8f1295861edee528fb7d90a13 diff --git a/net/ipv4/inet_hashtables.c b/net/ipv4/inet_hashtables.c index ce97399..e74f1f2 100644 --- a/net/ipv4/inet_hashtables.c +++ b/net/ipv4/inet_hashtables.c @@ -153,7 +153,7 @@ struct sock *__inet_lookup_listener(cons continue; score += 2; } - if (host && host != sk->sk_host) + if (host != sk->sk_host) continue; if (score == 5) return sk; -- 1.0.GIT