mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Fixed a missing splx(s) bug in tcp_usr_send().
This commit is contained in:
parent
86b3ebce35
commit
744f87ea73
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31840
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user