Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 72317 | Differences between
and this patch

Collapse All | Expand All

(-)linux-2.4.27/net/unix/af_unix.c (-1 / +5 lines)
Lines 1403-1411 Link Here
1403
1403
1404
	msg->msg_namelen = 0;
1404
	msg->msg_namelen = 0;
1405
1405
1406
	down(&sk->protinfo.af_unix.readsem);
1407
1406
	skb = skb_recv_datagram(sk, flags, noblock, &err);
1408
	skb = skb_recv_datagram(sk, flags, noblock, &err);
1407
	if (!skb)
1409
	if (!skb)
1408
		goto out;
1410
		goto out_unlock;
1409
1411
1410
	wake_up_interruptible(&sk->protinfo.af_unix.peer_wait);
1412
	wake_up_interruptible(&sk->protinfo.af_unix.peer_wait);
1411
1413
Lines 1449-1454 Link Here
1449
1451
1450
out_free:
1452
out_free:
1451
	skb_free_datagram(sk,skb);
1453
	skb_free_datagram(sk,skb);
1454
out_unlock:
1455
	up(&sk->protinfo.af_unix.readsem);
1452
out:
1456
out:
1453
	return err;
1457
	return err;
1454
}
1458
}

Return to bug 72317