commit | 0de22baabc97f7fc05e31d82cec8049947946887 | [log] [tgz] |
---|---|---|
author | Taehee Yoo <ap420073@gmail.com> | Fri Sep 14 00:56:33 2018 +0900 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Sep 20 18:26:56 2018 +0200 |
tree | e5b7a75440e9ab4025dab8c67bfa09fdedf4092a | |
parent | f8b0a3ab06a092c84ec0cab8232abb1b6f7c14f4 [diff] |
netfilter: nf_tables: use rhashtable_walk_enter instead of rhashtable_walk_init rhashtable_walk_init() is deprecated and rhashtable_walk_enter() can be used instead. rhashtable_walk_init() is wrapper function of rhashtable_walk_enter() so that logic is actually same. But rhashtable_walk_enter() doesn't return error hence error path code can be removed. Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>