提交 d1c9ae6d 编写于 作者: P Patrick McHardy 提交者: David S. Miller

ipv4: ip_fragment: fix unbalanced rcu_read_unlock()

Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2a6ace1b
......@@ -234,10 +234,9 @@ static void ip_expire(unsigned long arg)
/* Send an ICMP "Fragment Reassembly Timeout" message. */
icmp_send(head, ICMP_TIME_EXCEEDED, ICMP_EXC_FRAGTIME, 0);
}
out_rcu_unlock:
rcu_read_unlock();
rcu_read_unlock();
}
out:
spin_unlock(&qp->q.lock);
ipq_put(qp);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册