Date: Mon, 7 Jul 1997 07:40:01 -0700 (PDT) From: Bill Fenner <fenner@parc.xerox.com> To: freebsd-bugs Subject: Re: kern/4044: kernel crashes when ip_output() is called with a NULL route argument Message-ID: <199707071440.HAA16086@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/4044; it has been noted by GNATS. From: Bill Fenner <fenner@parc.xerox.com> To: freebsd-gnats-submit@freebsd.org, terzis@cs.ucla.edu Cc: Subject: Re: kern/4044: kernel crashes when ip_output() is called with a NULL route argument Date: Mon, 7 Jul 1997 00:20:10 PDT Two more things: 1) It's a good idea to use "options DIAGNOSTIC" when writing network code; it enables extra checks, one of which is a "panic: no route". 2) If you do any kind of packet/flow classification and have a data structure that might be associated with a single destination address, you should add a route to that data structure (like TCP and multicast tunnels do) and pass that to ip_output instead. Bill
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707071440.HAA16086>