summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1997-12-18 09:50:38 +0000
committerDavid Greenman <dg@FreeBSD.org>1997-12-18 09:50:38 +0000
commit744f87ea7387bcc7618ba42b8b20e6f31a9b0fa4 (patch)
tree2eea3ae64b11a156863f44faf6cfb06110777644 /sys/netinet/tcp_usrreq.c
parent86b3ebce351dea1ed7796b477425878c155b81f5 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 471f9b5e4f6f..7f33c0042638 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* From: @(#)tcp_usrreq.c 8.2 (Berkeley) 1/3/94
- * $Id: tcp_usrreq.c,v 1.34 1997/09/14 03:10:40 peter Exp $
+ * $Id: tcp_usrreq.c,v 1.35 1997/09/16 18:36:06 joerg Exp $
*/
#include "opt_tcpdebug.h"
@@ -340,7 +340,8 @@ tcp_usr_send(struct socket *so, int flags, struct mbuf *m,
m_freem(control); /* XXX shouldn't caller do this??? */
if (m)
m_freem(m);
- return EINVAL;
+ error = EINVAL;
+ goto out;
}
if(!(flags & PRUS_OOB)) {