From myself@conterra.com Sat Mar  6 13:39:53 1999
Return-Path: <myself@conterra.com>
Received: from hawaii.conterra.com (hawaii.conterra.com [209.12.164.32])
	by hub.freebsd.org (Postfix) with ESMTP id A808A14C30
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  6 Mar 1999 13:39:37 -0800 (PST)
	(envelope-from myself@conterra.com)
Received: from dmaddox.conterra.com (myself@dmaddox.conterra.com [209.12.169.48])
	by hawaii.conterra.com (8.8.8/8.8.7) with ESMTP id QAA17244
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 6 Mar 1999 16:39:19 -0500 (EST)
Received: (from myself@localhost)
	by dmaddox.conterra.com (8.9.3/8.9.1) id QAA03767;
	Sat, 6 Mar 1999 16:39:20 -0500 (EST)
	(envelope-from myself)
Message-Id: <199903062139.QAA03767@dmaddox.conterra.com>
Date: Sat, 6 Mar 1999 16:39:20 -0500 (EST)
From: dmaddox@conterra.com
Sender: myself@conterra.com
Reply-To: dmaddox@conterra.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Discard device does not set ifq_maxlen
X-Send-Pr-Version: 3.2

>Number:         10440
>Category:       kern
>Synopsis:       Discard device does not set ifq_maxlen
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar  6 13:40:00 PST 1999
>Closed-Date:    Mon Jan 1 14:51:49 PST 2001
>Last-Modified:  Mon Jan 01 14:52:08 PST 2001
>Originator:     Donald J. Maddox
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

FreeBSD dmaddox.conterra.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Mon Mar  1 23:48:36 EST 1999     root@dmaddox.conterra.com:/usr/src/sys/compile/RHIANNON  i386

>Description:

The discard device does not set ifq_maxlen, so you will get a warning to
that effect every time you boot a kernel with a discard device configured,
or load the kld.

>How-To-Repeat:

Two possibilities:

1) Boot a kernel with a discard device configured

2) Load the if_disc.ko kld

>Fix:

--- if_disc.c.orig	Sun Dec 13 20:59:16 1998
+++ if_disc.c	Sat Mar  6 16:19:29 1999
@@ -82,6 +82,7 @@
 	ifp->if_ioctl = discioctl;
 	ifp->if_output = discoutput;
 	ifp->if_type = IFT_LOOP;
+	ifp->if_snd.ifq_maxlen = ifqmaxlen;
 	ifp->if_hdrlen = 0;
 	ifp->if_addrlen = 0;
 	if_attach(ifp);


>Release-Note:
>Audit-Trail:

From: "Donald J. Maddox" <dmaddox@sc.rr.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/10440: Discard device does not set ifq_maxlen
Date: Mon, 01 Jan 2001 17:40:53 -0500

 This PR is no longer applicable and should be closed
 as it was fixed in rev. 1.25.
 
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Mon Jan 1 14:51:49 PST 2001 
State-Changed-Why:  
dmaddox notices that this could be closed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=10440 
>Unformatted:
