rhashtable-test: allow to retry even if -ENOMEM was returned
authorPhil Sutter <phil@nwl.cc>
Fri, 20 Nov 2015 17:17:20 +0000 (18:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Nov 2015 17:36:08 +0000 (12:36 -0500)
commitd662e037fc88b187494a95b5bc19b3c0e9b9ea36
tree9dff531c5029aae25ba4d03faa9610c1d16b6b57
parent95e435afefe98b8ef6ae8b764879a064cd931a5c
rhashtable-test: allow to retry even if -ENOMEM was returned

This is rather a hack to expose the current issue with rhashtable to
under high pressure sometimes return -ENOMEM even though system memory
is not exhausted and a consecutive insert may succeed.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_rhashtable.c