Skip to content
Commit c004d231 authored by Zhao Mengmeng's avatar Zhao Mengmeng Committed by Paul E. McKenney
Browse files

rcu: Use hlist_nulls_next_rcu() in hlist_nulls_add_tail_rcu()



In commit 8dbd76e7 ("tcp/dccp: fix possible race
__inet_lookup_established()"), function hlist_nulls_add_tail_rcu() was
added back, but the local variable *last* is of type hlist_nulls_node,
so use hlist_nulls_next_rcu() instead of hlist_next_rcu().

Signed-off-by: default avatarZhao Mengmeng <zhaomengmeng@kylinos.cn>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 1b929c02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment