Date: Sat, 20 May 2006 00:44:00 +0000 (UTC) From: Maksim Yevmenkin <emax@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tap.c Message-ID: <200605200044.k4K0i0XO072943@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
emax 2006-05-20 00:44:00 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/net if_tap.c
Log:
MFC v1.59 and v1.60
Add kqueue(2) support on if_tap(4) interfaces. While I'm here, replace
K&R style function declarations with ANSI style. Also fix endian bugs
accessing ioctl arguments that are passed by value.
Do not call knlist_destroy() in tapclose(). Instead call it when device is
actually destroyed. Also move call to knlist_init() into tapcreate(). This
should fix panic described in kern/95357.
PR: kern/93897, kern/95357
Submitted by: Vilmos Nebehaj < vili at huwico dot hu >
Revision Changes Path
1.55.2.3 +152 -60 src/sys/net/if_tap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605200044.k4K0i0XO072943>
