View | Details | Raw Unified | Return to bug 212716 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/kern/uipc_socket.c (-1 / +4 lines)
Lines 2437-2442 soreceive_generic(struct socket *so, struct sockaddr **psa, struct uio *uio, Link Here
2437
			 * the protocol. Skip blocking in this case.
2437
			 * the protocol. Skip blocking in this case.
2438
			 */
2438
			 */
2439
			if (so->so_rcv.sb_mb == NULL) {
2439
			if (so->so_rcv.sb_mb == NULL) {
2440
				if (so->so_error || so->so_rerror ||
2441
				    so->so_rcv.sb_state & SBS_CANTRCVMORE)
2442
					break;
2443
2440
				error = sbwait(so, SO_RCV);
2444
				error = sbwait(so, SO_RCV);
2441
				if (error) {
2445
				if (error) {
2442
					SOCKBUF_UNLOCK(&so->so_rcv);
2446
					SOCKBUF_UNLOCK(&so->so_rcv);
2443
- 

Return to bug 212716