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)
commit26f27ebaab32fc432cb537f72c2109570639b68c
tree5700cd86c182eaa9172de44d3151439e4ff745ed
parent5b8c4774d4158639c06493983c1c3b19d7ffa6b9
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