Re: [PATCH net] test_rhashtable: Add missing rcu_read_lock()

2018-03-09 Thread Herbert Xu
On Thu, Mar 08, 2018 at 07:10:47PM +0200, Paul Blakey wrote: > > I know but I wanted to show the inner structure for the failure case, iirc > walk doesn't provide this. Fair enough. Acked-by: Herbert Xu -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor

Re: [PATCH net] test_rhashtable: Add missing rcu_read_lock()

2018-03-08 Thread Paul Blakey
On 08/03/2018 17:58, Herbert Xu wrote: On Thu, Mar 08, 2018 at 01:54:57PM +0200, Paul Blakey wrote: Suppress "suspicious rcu_dereference_protected() usage!" on duplicate insertion test. Fixes: 499ac3b60f65 ('test_rhashtable: add test case for rhl_table with duplicate objects') Signed-off-by:

Re: [PATCH net] test_rhashtable: Add missing rcu_read_lock()

2018-03-08 Thread Herbert Xu
On Thu, Mar 08, 2018 at 01:54:57PM +0200, Paul Blakey wrote: > Suppress "suspicious rcu_dereference_protected() usage!" on duplicate > insertion test. > > Fixes: 499ac3b60f65 ('test_rhashtable: add test case for rhl_table with > duplicate objects') > Signed-off-by: Paul Blakey This shouldn't be

[PATCH net] test_rhashtable: Add missing rcu_read_lock()

2018-03-08 Thread Paul Blakey
Suppress "suspicious rcu_dereference_protected() usage!" on duplicate insertion test. Fixes: 499ac3b60f65 ('test_rhashtable: add test case for rhl_table with duplicate objects') Signed-off-by: Paul Blakey --- lib/test_rhashtable.c | 14 +- 1 file changed, 9 insertions(+), 5 deletion