[BACK]Return to uipc_socket.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/uipc_socket.c between version 1.11 and 1.12

version 1.11, 1994/04/25 08:22:07 version 1.12, 1994/04/25 08:41:03
Line 325  sosend(so, addr, uio, top, control, flag
Line 325  sosend(so, addr, uio, top, control, flag
         struct mbuf *control;          struct mbuf *control;
         int flags;          int flags;
 {  {
           struct proc *p = curproc;       /* XXX */
         struct mbuf **mp;          struct mbuf **mp;
         register struct mbuf *m;          register struct mbuf *m;
         register long space, len, resid;          register long space, len, resid;
Line 347  sosend(so, addr, uio, top, control, flag
Line 348  sosend(so, addr, uio, top, control, flag
         dontroute =          dontroute =
             (flags & MSG_DONTROUTE) && (so->so_options & SO_DONTROUTE) == 0 &&              (flags & MSG_DONTROUTE) && (so->so_options & SO_DONTROUTE) == 0 &&
             (so->so_proto->pr_flags & PR_ATOMIC);              (so->so_proto->pr_flags & PR_ATOMIC);
         if (uio->uio_procp)          p->p_stats->p_ru.ru_msgsnd++;
                 uio->uio_procp->p_stats->p_ru.ru_msgsnd++;  
         if (control)          if (control)
                 clen = control->m_len;                  clen = control->m_len;
 #define snderr(errno)   { error = errno; splx(s); goto release; }  #define snderr(errno)   { error = errno; splx(s); goto release; }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

CVSweb <webmaster@jp.NetBSD.org>