rcu: Add list_next_or_null_rcu
authorTom Herbert <tom@herbertland.com>
Mon, 7 Mar 2016 22:11:00 +0000 (14:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Mar 2016 21:36:13 +0000 (16:36 -0500)
commitff3c44e675054533403909ecb76e78c1d4efbd26
tree5700cd86c182eaa9172de44d3151439e4ff745ed
parent26e9093110fb9ceb10093e4914b129b58d49a425
rcu: Add list_next_or_null_rcu

This is a convenience function that returns the next entry in an RCU
list or NULL if at the end of the list.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rculist.h