[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.87 and 1.88

version 1.87, 2003/09/06 22:03:10 version 1.88, 2003/09/14 23:45:16
Line 1510  sohasoutofband(struct socket *so)
Line 1510  sohasoutofband(struct socket *so)
         ksiginfo_t ksi;          ksiginfo_t ksi;
         memset(&ksi, 0, sizeof(ksi));          memset(&ksi, 0, sizeof(ksi));
         ksi.ksi_signo = SIGURG;          ksi.ksi_signo = SIGURG;
           ksi.ksi_band = POLLPRI|POLLRDBAND;
           ksi.ksi_code = POLL_PRI;
   
         if (so->so_pgid < 0)          if (so->so_pgid < 0)
                 kgsignal(-so->so_pgid, &ksi, NULL);                  kgsignal(-so->so_pgid, &ksi, so);
         else if (so->so_pgid > 0 && (p = pfind(so->so_pgid)) != 0)          else if (so->so_pgid > 0 && (p = pfind(so->so_pgid)) != 0)
                 kpsignal(p, &ksi, NULL);                  kpsignal(p, &ksi, so);
         selwakeup(&so->so_rcv.sb_sel);          selwakeup(&so->so_rcv.sb_sel);
 }  }
   

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

CVSweb <webmaster@jp.NetBSD.org>