Module Name:    src
Committed By:   mlelstv
Date:           Sun Nov 10 11:44:23 UTC 2024

Modified Files:
        src/sys/dev/pci: if_bnx.c

Log Message:
Add MBUFTRACE


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/dev/pci/if_bnx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_bnx.c
diff -u src/sys/dev/pci/if_bnx.c:1.115 src/sys/dev/pci/if_bnx.c:1.116
--- src/sys/dev/pci/if_bnx.c:1.115	Sat Jun 29 12:11:11 2024
+++ src/sys/dev/pci/if_bnx.c	Sun Nov 10 11:44:23 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_bnx.c,v 1.115 2024/06/29 12:11:11 riastradh Exp $	*/
+/*	$NetBSD: if_bnx.c,v 1.116 2024/11/10 11:44:23 mlelstv Exp $	*/
 /*	$OpenBSD: if_bnx.c,v 1.101 2013/03/28 17:21:44 brad Exp $	*/
 
 /*-
@@ -35,7 +35,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/sys/dev/bce/if_bce.c,v 1.3 2006/04/13 14:12:26 ru Exp $");
 #endif
-__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.115 2024/06/29 12:11:11 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.116 2024/11/10 11:44:23 mlelstv Exp $");
 
 /*
  * The following controllers are supported by this driver:
@@ -4023,6 +4023,7 @@ bnx_get_buf(struct bnx_softc *sc, uint16
 			rc = ENOBUFS;
 			goto bnx_get_buf_exit;
 		}
+		MCLAIM(m_new, &sc->bnx_ec.ec_rx_mowner);
 
 		DBRUNIF(1, sc->rx_mbuf_alloc++);
 

Reply via email to