commit | 56d28b1e921b57b918a0ae6b13a1671115fe788d | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed Feb 04 07:33:24 2015 +1100 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 04 20:34:53 2015 -0800 |
tree | 7165e902d7339307608075b09516ccde5000a4fb | |
parent | f2dba9c6ff0d9a515b4c3f1b037cd65c8b2a868c [diff] |
netlink: Use rhashtable walk iterator This patch gets rid of the manual rhashtable walk in netlink which touches rhashtable internals that should not be exposed. It does so by using the rhashtable iterator primitives. In fact the existing code was very buggy. Some sockets weren't shown at all while others were shown more than once. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>