[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.65 and 1.66

version 1.65, 2002/05/03 00:35:14 version 1.66, 2002/05/07 08:06:35
Line 798  soreceive(struct socket *so, struct mbuf
Line 798  soreceive(struct socket *so, struct mbuf
         struct protosw  *pr;          struct protosw  *pr;
         struct mbuf     *nextrecord;          struct mbuf     *nextrecord;
   
         sodopendfree(so);  
   
         pr = so->so_proto;          pr = so->so_proto;
         mp = mp0;          mp = mp0;
         type = 0;          type = 0;
Line 812  soreceive(struct socket *so, struct mbuf
Line 810  soreceive(struct socket *so, struct mbuf
                 flags = *flagsp &~ MSG_EOR;                  flags = *flagsp &~ MSG_EOR;
         else          else
                 flags = 0;                  flags = 0;
   
           if ((flags & MSG_DONTWAIT) == 0)
                   sodopendfree(so);
   
         if (flags & MSG_OOB) {          if (flags & MSG_OOB) {
                 m = m_get(M_WAIT, MT_DATA);                  m = m_get(M_WAIT, MT_DATA);
                 error = (*pr->pr_usrreq)(so, PRU_RCVOOB, m,                  error = (*pr->pr_usrreq)(so, PRU_RCVOOB, m,

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66

CVSweb <webmaster@jp.NetBSD.org>