Module Name:    src
Committed By:   msaitoh
Date:           Tue Jun 13 09:35:12 UTC 2017

Modified Files:
        src/sys/dev/pci/ixgbe: ix_txrx.c

Log Message:
 Fix the partial chain check in ixgbe_rx_discard(). This bug was addded in
rev. 1.33.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/ixgbe/ix_txrx.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/ixgbe/ix_txrx.c
diff -u src/sys/dev/pci/ixgbe/ix_txrx.c:1.25 src/sys/dev/pci/ixgbe/ix_txrx.c:1.26
--- src/sys/dev/pci/ixgbe/ix_txrx.c:1.25	Fri Jun  9 03:19:55 2017
+++ src/sys/dev/pci/ixgbe/ix_txrx.c	Tue Jun 13 09:35:12 2017
@@ -59,7 +59,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 /*$FreeBSD: head/sys/dev/ixgbe/ix_txrx.c 301538 2016-06-07 04:51:50Z sephe $*/
-/*$NetBSD: ix_txrx.c,v 1.25 2017/06/09 03:19:55 msaitoh Exp $*/
+/*$NetBSD: ix_txrx.c,v 1.26 2017/06/13 09:35:12 msaitoh Exp $*/
 
 #include "opt_inet.h"
 #include "opt_inet6.h"
@@ -1771,7 +1771,7 @@ ixgbe_rx_discard(struct rx_ring *rxr, in
 	** and mapping.
 	*/
 
-	if (rbuf->buf != NULL) {/* Partial chain ? */
+	if (rbuf->fmp != NULL) {/* Partial chain ? */
 		rbuf->fmp->m_flags |= M_PKTHDR;
 		m_freem(rbuf->fmp);
 		rbuf->fmp = NULL;

Reply via email to