Commit 99024599 authored by Patrick Caulfield's avatar Patrick Caulfield Committed by David S. Miller

[DECNET]: Fix double rcu_read_unlock() in dn_rt_cache_seq_stop().

parent 01a9b992
......@@ -1720,7 +1720,8 @@ static void *dn_rt_cache_seq_next(struct seq_file *seq, void *v, loff_t *pos)
static void dn_rt_cache_seq_stop(struct seq_file *seq, void *v)
{
rcu_read_unlock();
if (v)
rcu_read_unlock();
}
static int dn_rt_cache_seq_show(struct seq_file *seq, void *v)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment