Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/kqueue]: src/sys/net Oops, selwakeup() -> selnotify() for last.



details:   https://anonhg.NetBSD.org/src/rev/d0f7328fcbcb
branches:  kqueue
changeset: 512391:d0f7328fcbcb
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Sep 08 04:08:24 2001 +0000

description:
Oops, selwakeup() -> selnotify() for last.

diffstat:

 sys/net/if_tun.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cf8b67b0be4d -r d0f7328fcbcb sys/net/if_tun.c
--- a/sys/net/if_tun.c  Sat Sep 08 04:07:06 2001 +0000
+++ b/sys/net/if_tun.c  Sat Sep 08 04:08:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tun.c,v 1.43.2.3 2001/09/08 03:42:26 thorpej Exp $  */
+/*     $NetBSD: if_tun.c,v 1.43.2.4 2001/09/08 04:08:24 thorpej Exp $  */
 
 /*
  * Copyright (c) 1988, Julian Onions <jpo%cs.nott.ac.uk@localhost>
@@ -188,7 +188,7 @@
                splx(s);
        }
        tp->tun_pgrp = 0;
-       selwakeup(&tp->tun_rsel);
+       selnotify(&tp->tun_rsel, 0);
                
        TUNDEBUG ("%s: closed\n", ifp->if_xname);
        return (0);
@@ -378,7 +378,7 @@
                else if ((p = pfind(-tp->tun_pgrp)) != NULL)
                        psignal(p, SIGIO);
        }
-       selwakeup(&tp->tun_rsel);
+       selnotify(&tp->tun_rsel, 0);
        return (0);
 }
 



Home | Main Index | Thread Index | Old Index