summaryrefslogtreecommitdiffstats
path: root/net/irda/af_irda.c
diff options
context:
space:
mode:
authorEric Dumazet2010-12-23 18:32:46 +0100
committerDavid S. Miller2010-12-23 18:32:46 +0100
commit1bde5ac49398a064c753bb490535cfad89e99a5f (patch)
tree9a26c9da2be8e1a6eedc089dd7719e14ac9b184b /net/irda/af_irda.c
parentMerge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/lin... (diff)
downloadkernel-qcow2-linux-1bde5ac49398a064c753bb490535cfad89e99a5f.tar.gz
kernel-qcow2-linux-1bde5ac49398a064c753bb490535cfad89e99a5f.tar.xz
kernel-qcow2-linux-1bde5ac49398a064c753bb490535cfad89e99a5f.zip
tcp: fix listening_get_next()
Alexey Vlasov found /proc/net/tcp could sometime loop and display millions of sockets in LISTEN state. In 2.6.29, when we converted TCP hash tables to RCU, we left two sk_next() calls in listening_get_next(). We must instead use sk_nulls_next() to properly detect an end of chain. Reported-by: Alexey Vlasov <renton@renton.name> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/af_irda.c')
0 files changed, 0 insertions, 0 deletions