From owner-freebsd-bugs Mon Dec 23 14:50:03 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA27085 for bugs-outgoing; Mon, 23 Dec 1996 14:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA27079; Mon, 23 Dec 1996 14:50:01 -0800 (PST) Date: Mon, 23 Dec 1996 14:50:01 -0800 (PST) Message-Id: <199612232250.OAA27079@freefall.freebsd.org> To: freebsd-bugs Cc: From: Bill Fenner Subject: Re: kern/2271: FIONREAD in if_tun.c wrong Reply-To: Bill Fenner Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/2271; it has been noted by GNATS. From: Bill Fenner To: hans@brandinnovators.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/2271: FIONREAD in if_tun.c wrong Date: Mon, 23 Dec 1996 14:45:10 PST I think it's an error to send a non-PKTHDR mbuf to an interface output routine, so it's probably safe to get rid of the if and just use m_pkthdr.len unconditionally. Bill