diff options
author | Patrick McHardy <kaber@trash.net> | 2010-02-02 14:46:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-02 14:46:50 -0500 |
commit | d1c9ae6d1e7b95cedc8e39e8949e795379a0669e (patch) | |
tree | c293e13bd9842436b07035edb86971c468303213 /net | |
parent | 2a6ace1b3d4dc65401e71fc01af100692b9f27f8 (diff) |
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')
-rw-r--r-- | net/ipv4/ip_fragment.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/ip_fragment.c b/net/ipv4/ip_fragment.c index 9f41bd311754..b59430bc041c 100644 --- a/net/ipv4/ip_fragment.c +++ b/net/ipv4/ip_fragment.c | |||
@@ -234,10 +234,9 @@ static void ip_expire(unsigned long arg) | |||
234 | 234 | ||
235 | /* Send an ICMP "Fragment Reassembly Timeout" message. */ | 235 | /* Send an ICMP "Fragment Reassembly Timeout" message. */ |
236 | icmp_send(head, ICMP_TIME_EXCEEDED, ICMP_EXC_FRAGTIME, 0); | 236 | icmp_send(head, ICMP_TIME_EXCEEDED, ICMP_EXC_FRAGTIME, 0); |
237 | } | ||
238 | |||
239 | out_rcu_unlock: | 237 | out_rcu_unlock: |
240 | rcu_read_unlock(); | 238 | rcu_read_unlock(); |
239 | } | ||
241 | out: | 240 | out: |
242 | spin_unlock(&qp->q.lock); | 241 | spin_unlock(&qp->q.lock); |
243 | ipq_put(qp); | 242 | ipq_put(qp); |