commit | ad202074320cd75b31b8cdb58cca0d4ef6aaea8a | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Fri Aug 19 16:21:37 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 19 14:40:25 2016 -0700 |
tree | 2a64a15410e84838e189a8324e0a0b3ae6f5bda9 | |
parent | 39ec406d122be703ee51cb2754fe18b1f7037fa0 [diff] |
netlink: Use rhashtable walk interface in diag dump This patch converts the diag dumping code to use the rhashtable walk code instead of going through rhashtable by hand. The lock nl_table_lock is now only taken while we process the multicast list as it's not needed for the rhashtable walk. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>