Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/uipc_socket.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/kern/uipc_socket.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.50.4.2 retrieving revision 1.50.4.3 diff -u -p -r1.50.4.2 -r1.50.4.3 --- src/sys/kern/uipc_socket.c 2001/02/03 18:41:57 1.50.4.2 +++ src/sys/kern/uipc_socket.c 2001/10/08 19:47:51 1.50.4.3 @@ -1,4 +1,4 @@ -/* $NetBSD: uipc_socket.c,v 1.50.4.2 2001/02/03 18:41:57 he Exp $ */ +/* $NetBSD: uipc_socket.c,v 1.50.4.3 2001/10/08 19:47:51 he Exp $ */ /* * Copyright (c) 1982, 1986, 1988, 1990, 1993 @@ -757,6 +757,8 @@ dontblock: splx(s); error = uiomove(mtod(m, caddr_t) + moff, (int)len, uio); s = splsoftnet(); + if (error) + goto release; } else uio->uio_resid -= len; if (len == m->m_len - moff) {