Date: Sun, 2 May 1999 17:29:32 -0400 (EDT) From: sjr@home.net To: FreeBSD-gnats-submit@freebsd.org Subject: kern/11456: Minor fix to ex0 driver; set ifq_maxlen Message-ID: <199905022129.RAA00586@istari.home.net>
index | next in thread | raw e-mail
>Number: 11456
>Category: kern
>Synopsis: Minor fix to ex0 driver; set ifq_maxlen
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun May 2 14:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Stephen J. Roznowski
>Release: FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:
>Description:
The ex0 driver prints the following warning message on
boot:
ex0 XXX: driver didn't set ifq_maxlen
The patch below sets this to the default value.
>How-To-Repeat:
>Fix:
--- sys/i386/isa/if_ex.c.orig Sat May 1 19:43:14 1999
+++ sys/i386/isa/if_ex.c Sat May 1 19:43:59 1999
@@ -298,6 +298,7 @@
bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
DODEBUG(Start_End, printf("ex_attach%d: finish\n", unit););
+ sc->arpcom.ac_if.if_snd.ifq_maxlen = ifqmaxlen;
return(1);
}
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905022129.RAA00586>
