Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/sys/dev/pci Pull up following revision(s) (requested by t...



details:   https://anonhg.NetBSD.org/src/rev/3800c4c094d2
branches:  netbsd-3
changeset: 577973:3800c4c094d2
user:      snj <snj%NetBSD.org@localhost>
date:      Thu Apr 20 03:20:15 2006 +0000

description:
Pull up following revision(s) (requested by tron in ticket #1266):
        sys/dev/pci/if_nfe.c: revision 1.2
handle another difference between the BSDs:
free the original mbuf in the jumbo-free callback too.

diffstat:

 sys/dev/pci/if_nfe.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 499df8112959 -r 3800c4c094d2 sys/dev/pci/if_nfe.c
--- a/sys/dev/pci/if_nfe.c      Thu Apr 20 03:19:03 2006 +0000
+++ b/sys/dev/pci/if_nfe.c      Thu Apr 20 03:20:15 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_nfe.c,v 1.3.4.2 2006/04/20 03:11:14 snj Exp $       */
+/*     $NetBSD: if_nfe.c,v 1.3.4.3 2006/04/20 03:20:15 snj Exp $       */
 /*     $OpenBSD: if_nfe.c,v 1.52 2006/03/02 09:04:00 jsg Exp $ */
 
 /*-
@@ -21,7 +21,7 @@
 /* Driver for NVIDIA nForce MCP Fast Ethernet and Gigabit Ethernet */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_nfe.c,v 1.3.4.2 2006/04/20 03:11:14 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_nfe.c,v 1.3.4.3 2006/04/20 03:20:15 snj Exp $");
 
 #include "opt_inet.h"
 #include "bpfilter.h"
@@ -1433,6 +1433,9 @@
 
        /* ..and put it back in the free list */
        SLIST_INSERT_HEAD(&sc->rxq.jfreelist, jbuf, jnext);
+
+        if (m != NULL)
+                pool_cache_put(&mbpool_cache, m);
 }
 
 int



Home | Main Index | Thread Index | Old Index