[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.12 and 1.13

version 1.12, 1994/04/25 08:41:03 version 1.13, 1994/04/25 08:47:50
Line 492  soreceive(so, paddr, uio, mp0, controlp,
Line 492  soreceive(so, paddr, uio, mp0, controlp,
         struct mbuf **controlp;          struct mbuf **controlp;
         int *flagsp;          int *flagsp;
 {  {
           struct proc *p = curproc;       /* XXX */
         register struct mbuf *m, **mp;          register struct mbuf *m, **mp;
         register int flags, len, error, s, offset;          register int flags, len, error, s, offset;
         struct protosw *pr = so->so_proto;          struct protosw *pr = so->so_proto;
Line 592  restart:
Line 593  restart:
                 goto restart;                  goto restart;
         }          }
 dontblock:  dontblock:
         if (uio->uio_procp)          p->p_stats->p_ru.ru_msgrcv++;
                 uio->uio_procp->p_stats->p_ru.ru_msgrcv++;  
         nextrecord = m->m_nextpkt;          nextrecord = m->m_nextpkt;
         if (pr->pr_flags & PR_ADDR) {          if (pr->pr_flags & PR_ADDR) {
 #ifdef DIAGNOSTIC  #ifdef DIAGNOSTIC

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

CVSweb <webmaster@jp.NetBSD.org>