Remove a piece of the previous patch.

This commit is contained in:
mycroft 1994-04-25 08:41:03 +00:00
parent e4af8f69a5
commit ccb0412b7c
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)uipc_socket.c 7.28 (Berkeley) 5/4/91
* $Id: uipc_socket.c,v 1.11 1994/04/25 08:22:07 mycroft Exp $
* $Id: uipc_socket.c,v 1.12 1994/04/25 08:41:03 mycroft Exp $
*/
#include <sys/param.h>
@ -325,6 +325,7 @@ sosend(so, addr, uio, top, control, flags)
struct mbuf *control;
int flags;
{
struct proc *p = curproc; /* XXX */
struct mbuf **mp;
register struct mbuf *m;
register long space, len, resid;
@ -347,8 +348,7 @@ sosend(so, addr, uio, top, control, flags)
dontroute =
(flags & MSG_DONTROUTE) && (so->so_options & SO_DONTROUTE) == 0 &&
(so->so_proto->pr_flags & PR_ATOMIC);
if (uio->uio_procp)
uio->uio_procp->p_stats->p_ru.ru_msgsnd++;
p->p_stats->p_ru.ru_msgsnd++;
if (control)
clen = control->m_len;
#define snderr(errno) { error = errno; splx(s); goto release; }