list_nulls: add hlist_nulls_add_head and hlist_nulls_del
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 13 Jun 2009 10:28:57 +0000 (12:28 +0200)
committerPatrick McHardy <kaber@trash.net>
Sat, 13 Jun 2009 10:28:57 +0000 (12:28 +0200)
commitd219dce76c64f2c883dad0537fa09a56d5ff0a10
tree712ae332fbe5ae56524bb5afe2ee09960bbb74ee
parent9858a3ae1d4b390fbaa9c30b83cb66d861b76294
list_nulls: add hlist_nulls_add_head and hlist_nulls_del

This patch adds the hlist_nulls_add_head() function which is
based on hlist_nulls_add_head_rcu() but without the use of
rcu_assign_pointer(). It also adds hlist_nulls_del which is
exactly the same like hlist_nulls_del_rcu().

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/list_nulls.h