diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-01-23 21:02:40 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-27 08:02:41 (GMT) |
commit | 86f3cddbc3037882414c7308973530167906b7e9 (patch) | |
tree | a763a5c75a0f5d53e4247422039c9b685226b158 /net/8021q/vlan_mvrp.c | |
parent | 7d63585bf0a6c99382f97a5af71c5b5547fb58a4 (diff) | |
download | linux-86f3cddbc3037882414c7308973530167906b7e9.tar.xz |
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 'net/8021q/vlan_mvrp.c')
0 files changed, 0 insertions, 0 deletions