diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-27 01:37:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-27 01:37:05 -0500 |
commit | 17f7f4d9fcce8f1b75b5f735569309dee7665968 (patch) | |
tree | 14d7e49ca0053a0fcab3c33b5023bf3f90c5c08a /net/ipv4/tcp_ipv4.c | |
parent | 041110a439e21cd40709ead4ffbfa8034619ad77 (diff) | |
parent | d7c1255a3a21e98bdc64df8ccf005a174d7e6289 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
net/ipv4/fib_frontend.c
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index f4011027543d..856f68466d49 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -2000,7 +2000,7 @@ static void *listening_get_next(struct seq_file *seq, void *cur) | |||
2000 | get_req: | 2000 | get_req: |
2001 | req = icsk->icsk_accept_queue.listen_opt->syn_table[st->sbucket]; | 2001 | req = icsk->icsk_accept_queue.listen_opt->syn_table[st->sbucket]; |
2002 | } | 2002 | } |
2003 | sk = sk_next(st->syn_wait_sk); | 2003 | sk = sk_nulls_next(st->syn_wait_sk); |
2004 | st->state = TCP_SEQ_STATE_LISTENING; | 2004 | st->state = TCP_SEQ_STATE_LISTENING; |
2005 | read_unlock_bh(&icsk->icsk_accept_queue.syn_wait_lock); | 2005 | read_unlock_bh(&icsk->icsk_accept_queue.syn_wait_lock); |
2006 | } else { | 2006 | } else { |
@@ -2009,7 +2009,7 @@ get_req: | |||
2009 | if (reqsk_queue_len(&icsk->icsk_accept_queue)) | 2009 | if (reqsk_queue_len(&icsk->icsk_accept_queue)) |
2010 | goto start_req; | 2010 | goto start_req; |
2011 | read_unlock_bh(&icsk->icsk_accept_queue.syn_wait_lock); | 2011 | read_unlock_bh(&icsk->icsk_accept_queue.syn_wait_lock); |
2012 | sk = sk_next(sk); | 2012 | sk = sk_nulls_next(sk); |
2013 | } | 2013 | } |
2014 | get_sk: | 2014 | get_sk: |
2015 | sk_nulls_for_each_from(sk, node) { | 2015 | sk_nulls_for_each_from(sk, node) { |