Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1c9ae6d authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

ipv4: ip_fragment: fix unbalanced rcu_read_unlock()

parent 2a6ace1b
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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();
	}
out:
	spin_unlock(&qp->q.lock);
	ipq_put(qp);