Date: Sun, 9 Jun 1996 19:49:03 +0930 (CST) From: Peter Childs <pjchilds@imforei.apana.org.au> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/1304: kernel tunnel bug Message-ID: <199606091019.TAA24005@al.imforei.apana.org.au> Resent-Message-ID: <199606091020.DAA04689@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1304 >Category: kern >Synopsis: incorrect return >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 9 03:20:01 PDT 1996 >Last-Modified: >Originator: Peter Childs >Organization: Peter Childs --- http://www.imforei.apana.org.au/~pjchilds >Release: FreeBSD 2.1-STABLE i386 >Environment: 2.1-stable CTM'd to 116. >Description: Line 150 of /sys/net/if_tun.c returns ENXIO when it should return EBUSY. This can cause problems if the ppp code assumes because device 0 returned ENXIO that no other devices will be available (which would be sensible), and terminates its loop without assigning a tunnel device. The current stable :) os.c code doesn't, but thats broken in its own special way anyway :) >How-To-Repeat: Glance at the code.. >Fix: change return ENXIO; to return EBUSY; >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606091019.TAA24005>