Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci/ixgbe Fix the partial chain check in ixgbe_rx_di...



details:   https://anonhg.NetBSD.org/src/rev/a26cd6f89e61
branches:  trunk
changeset: 824656:a26cd6f89e61
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Jun 13 09:35:12 2017 +0000

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

diffstat:

 sys/dev/pci/ixgbe/ix_txrx.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 94578526e9a5 -r a26cd6f89e61 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c       Tue Jun 13 09:11:22 2017 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c       Tue Jun 13 09:35:12 2017 +0000
@@ -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 @@
        ** 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;



Home | Main Index | Thread Index | Old Index