[BACK]Return to uipc_usrreq.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_usrreq.c between version 1.58 and 1.59

version 1.58, 2003/02/25 09:56:15 version 1.59, 2003/02/26 06:31:11
Line 951  unp_internalize(control, p)
Line 951  unp_internalize(control, p)
                         return (E2BIG);                          return (E2BIG);
   
                 /* allocate a cluster and try again */                  /* allocate a cluster and try again */
                 MCLGET(control, M_WAIT);                  m_clget(control, M_WAIT);
                 if ((control->m_flags & M_EXT) == 0)                  if ((control->m_flags & M_EXT) == 0)
                         return (ENOBUFS);       /* allocation failed */                          return (ENOBUFS);       /* allocation failed */
   
Line 1006  unp_addsockcred(p, control)
Line 1006  unp_addsockcred(p, control)
                 if (space > MCLBYTES)                  if (space > MCLBYTES)
                         MEXTMALLOC(m, space, M_WAITOK);                          MEXTMALLOC(m, space, M_WAITOK);
                 else                  else
                         MCLGET(m, M_WAIT);                          m_clget(m, M_WAIT);
                 if ((m->m_flags & M_EXT) == 0) {                  if ((m->m_flags & M_EXT) == 0) {
                         m_free(m);                          m_free(m);
                         return (control);                          return (control);

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

CVSweb <webmaster@jp.NetBSD.org>