Source-Changes-HG archive

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

[src/trunk]: src/sys/net pass signo to fownsignal #ifdef ALTQ



details:   https://anonhg.NetBSD.org/src/rev/10289d1ef3ee
branches:  trunk
changeset: 552276:10289d1ef3ee
user:      cl <cl%NetBSD.org@localhost>
date:      Mon Sep 22 20:49:39 2003 +0000

description:
pass signo to fownsignal #ifdef ALTQ

diffstat:

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

diffs (29 lines):

diff -r 315384fbf22c -r 10289d1ef3ee sys/net/if_tun.c
--- a/sys/net/if_tun.c  Mon Sep 22 18:33:41 2003 +0000
+++ b/sys/net/if_tun.c  Mon Sep 22 20:49:39 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tun.c,v 1.66 2003/09/22 13:00:03 christos Exp $     */
+/*     $NetBSD: if_tun.c,v 1.67 2003/09/22 20:49:39 cl Exp $   */
 
 /*
  * Copyright (c) 1988, Julian Onions <jpo%cs.nott.ac.uk@localhost>
@@ -15,7 +15,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.66 2003/09/22 13:00:03 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.67 2003/09/22 20:49:39 cl Exp $");
 
 #include "tun.h"
 
@@ -874,8 +874,8 @@
                        wakeup((caddr_t)tp);
                }
                if (tp->tun_flags & TUN_ASYNC && tp->tun_pgid)
-                       fownsignal(tp->tun_pgid, POLL_OUT, POLLOUT|POLLWRNORM,
-                               NULL);
+                       fownsignal(tp->tun_pgid, SIGIO, POLL_OUT,
+                               POLLOUT|POLLWRNORM, NULL);
        
                selwakeup(&tp->tun_rsel);
        }



Home | Main Index | Thread Index | Old Index