[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.211.2.2 and 1.211.2.3

version 1.211.2.2, 2013/02/25 00:29:55 version 1.211.2.3, 2013/06/23 06:18:58
Line 538  socreate(int dom, struct socket **aso, i
Line 538  socreate(int dom, struct socket **aso, i
                 lock = lockso->so_lock;                  lock = lockso->so_lock;
                 so->so_lock = lock;                  so->so_lock = lock;
                 mutex_obj_hold(lock);                  mutex_obj_hold(lock);
                   /* XXX Why is this not solock, to match sounlock? */
                 mutex_enter(lock);                  mutex_enter(lock);
         } else {          } else {
                 /* Lock assigned and taken during PRU_ATTACH. */                  /* Lock assigned and taken during PRU_ATTACH. */
Line 876  sosend(struct socket *so, struct mbuf *a
Line 877  sosend(struct socket *so, struct mbuf *a
         struct mbuf *control, int flags, struct lwp *l)          struct mbuf *control, int flags, struct lwp *l)
 {  {
         struct mbuf     **mp, *m;          struct mbuf     **mp, *m;
         struct proc     *p;  
         long            space, len, resid, clen, mlen;          long            space, len, resid, clen, mlen;
         int             error, s, dontroute, atomic;          int             error, s, dontroute, atomic;
         short           wakeup_state = 0;          short           wakeup_state = 0;
   
         p = l->l_proc;  
         clen = 0;          clen = 0;
   
         /*          /*

Legend:
Removed from v.1.211.2.2  
changed lines
  Added in v.1.211.2.3

CVSweb <webmaster@jp.NetBSD.org>