[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.86 and 1.87

version 1.86, 2003/09/04 16:44:05 version 1.87, 2003/09/06 22:03:10
Line 1507  void
Line 1507  void
 sohasoutofband(struct socket *so)  sohasoutofband(struct socket *so)
 {  {
         struct proc *p;          struct proc *p;
           ksiginfo_t ksi;
           memset(&ksi, 0, sizeof(ksi));
           ksi.ksi_signo = SIGURG;
   
         if (so->so_pgid < 0)          if (so->so_pgid < 0)
                 gsignal(-so->so_pgid, SIGURG);                  kgsignal(-so->so_pgid, &ksi, NULL);
         else if (so->so_pgid > 0 && (p = pfind(so->so_pgid)) != 0)          else if (so->so_pgid > 0 && (p = pfind(so->so_pgid)) != 0)
                 psignal(p, SIGURG);                  kpsignal(p, &ksi, NULL);
         selwakeup(&so->so_rcv.sb_sel);          selwakeup(&so->so_rcv.sb_sel);
 }  }
   

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

CVSweb <webmaster@jp.NetBSD.org>