list: introduce list_for_each_entry_from_reverse helper
authorJiri Pirko <jiri@mellanox.com>
Fri, 3 Feb 2017 09:29:05 +0000 (10:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 21:35:42 +0000 (16:35 -0500)
commitb862815c3ee7b49ec20a9ab25da55a5f0bcbb95e
tree51e6e326d62f70ec1aac5c687fbf89f8351d116c
parent8708ecf01d454607f15fe1b378c8b88de3b9c34b
list: introduce list_for_each_entry_from_reverse helper

Similar to list_for_each_entry_continue and its reverse variant
list_for_each_entry_continue_reverse, introduce reverse helper for
list_for_each_entry_from.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/list.h