diff --git a/net/tipc/name_table.c b/net/tipc/name_table.c index aafa684c4db925a8ca5f985df52bbf495f2b85da..c8df0223371a7b86f971093fee1ac1ba47bffb26 100644 --- a/net/tipc/name_table.c +++ b/net/tipc/name_table.c @@ -979,7 +979,7 @@ static void tipc_purge_publications(struct name_seq *seq) } hlist_del_init_rcu(&seq->ns_list); kfree(seq->sseqs); - spin_lock_bh(&seq->lock); + spin_unlock_bh(&seq->lock); kfree_rcu(seq, rcu); }