From: Patrick McHardy Date: Tue, 2 Feb 2010 19:46:50 +0000 (-0800) Subject: ipv4: ip_fragment: fix unbalanced rcu_read_unlock() X-Git-Tag: v2.6.34-rc1~233^2~473 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1c9ae6d1e7b95cedc8e39e8949e795379a0669e;p=platform%2Fupstream%2Fkernel-adaptation-pc.git ipv4: ip_fragment: fix unbalanced rcu_read_unlock() Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/ipv4/ip_fragment.c b/net/ipv4/ip_fragment.c index 9f41bd3..b59430b 100644 --- a/net/ipv4/ip_fragment.c +++ b/net/ipv4/ip_fragment.c @@ -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);