summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_fragment.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-02-02 11:46:50 -0800
committerDavid S. Miller <davem@davemloft.net>2010-02-02 11:46:50 -0800
commitd1c9ae6d1e7b95cedc8e39e8949e795379a0669e (patch)
treec293e13bd9842436b07035edb86971c468303213 /net/ipv4/ip_fragment.c
parent2a6ace1b3d4dc65401e71fc01af100692b9f27f8 (diff)
downloadop-kernel-dev-d1c9ae6d1e7b95cedc8e39e8949e795379a0669e.zip
op-kernel-dev-d1c9ae6d1e7b95cedc8e39e8949e795379a0669e.tar.gz
ipv4: ip_fragment: fix unbalanced rcu_read_unlock()
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_fragment.c')
-rw-r--r--net/ipv4/ip_fragment.c5
1 files changed, 2 insertions, 3 deletions
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);
OpenPOWER on IntegriCloud