aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/tcp_ipv4.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 5400d75ff17a..a82df6307567 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -1892,8 +1892,7 @@ static void *listening_get_next(struct seq_file *seq, void *cur)
1892 req = req->dl_next; 1892 req = req->dl_next;
1893 while (1) { 1893 while (1) {
1894 while (req) { 1894 while (req) {
1895 if (req->rsk_ops->family == st->family && 1895 if (req->rsk_ops->family == st->family) {
1896 net_eq(sock_net(req->sk), net)) {
1897 cur = req; 1896 cur = req;
1898 goto out; 1897 goto out;
1899 } 1898 }