diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-01-24 08:02:40 +1100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-27 00:02:41 -0800 |
commit | 86f3cddbc3037882414c7308973530167906b7e9 (patch) | |
tree | a763a5c75a0f5d53e4247422039c9b685226b158 /firmware | |
parent | 7d63585bf0a6c99382f97a5af71c5b5547fb58a4 (diff) | |
download | linux-86f3cddbc3037882414c7308973530167906b7e9.tar.gz linux-86f3cddbc3037882414c7308973530167906b7e9.tar.bz2 linux-86f3cddbc3037882414c7308973530167906b7e9.zip |
udp_diag: Fix socket skipping within chain
While working on rhashtable walking I noticed that the UDP diag
dumping code is buggy. In particular, the socket skipping within
a chain never happens, even though we record the number of sockets
that should be skipped.
As this code was supposedly copied from TCP, this patch does what
TCP does and resets num before we walk a chain.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions