diff options
author | dg <dg@FreeBSD.org> | 1997-12-18 09:50:38 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1997-12-18 09:50:38 +0000 |
commit | 0f803af547f867789ca2f4b51517d9ab712b9d51 (patch) | |
tree | 1adbdcfd8830b0b493484c968e152f8b75b9a414 /sys/netinet/tcp_usrreq.c | |
parent | 5b21cc8b37b50e7ff4efd4a9c80496e272b12e25 (diff) | |
download | FreeBSD-src-0f803af547f867789ca2f4b51517d9ab712b9d51.zip FreeBSD-src-0f803af547f867789ca2f4b51517d9ab712b9d51.tar.gz |
Fixed a missing splx(s) bug in tcp_usr_send().
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 471f9b5..7f33c00 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)) { |