Subject: kern/24686: bge(4) cannot free jumbo RX ring properly
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <QFH02545@nifty.com>
List: netbsd-bugs
Date: 03/06/2004 10:33:23
>Number: 24686
>Category: kern
>Synopsis: bge(4) cannot free jumbo RX ring properly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 06 10:34:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: HITOSHI Osada
>Release: 1.6.2
>Organization:
None
>Environment:
NetBSD that 1.6.2 NetBSD 1.6.2 (THATK7) #48: Sat Mar 6 14:48:20 JST 2004 that@that:/Sources/NetBSD-src/src/sys/arch/i386/compile/THATK7 i386
>Description:
Because forgotten to set BGE_JUMBO_RXRING_VALID flag in bge_init_rx_ring_jumbo(), setting MTU > 1500 produces "no free jumbo buffers" error.
This bug exists even in -current.
>How-To-Repeat:
# ifconfig bge0 mtu 9000
>Fix:
Index: if_bge.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_bge.c,v
retrieving revision 1.29.2.5
diff -r1.29.2.5 if_bge.c
890a891,893
> if (sc->bge_flags & BGE_JUMBO_RXRING_VALID)
> return 0;
>
903a907,908
> sc->bge_flags |= BGE_JUMBO_RXRING_VALID;
>
>Release-Note:
>Audit-Trail:
>Unformatted: