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 a bug that number of input packet coun...
details: https://anonhg.NetBSD.org/src/rev/40e5127580d0
branches: trunk
changeset: 823996:40e5127580d0
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu May 18 08:25:37 2017 +0000
description:
Fix a bug that number of input packet counted twice. This bug was added
since sys/net/if.c rev.1.368.
http://mail-index.netbsd.org/source-changes/2016/12/15/msg079882.html
diffstat:
sys/dev/pci/ixgbe/ix_txrx.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 897e002ee4d2 -r 40e5127580d0 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c Thu May 18 06:34:48 2017 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c Thu May 18 08:25:37 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.23 2017/05/08 10:00:41 msaitoh Exp $*/
+/*$NetBSD: ix_txrx.c,v 1.24 2017/05/18 08:25:37 msaitoh Exp $*/
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -1955,7 +1955,6 @@
mp->m_next = nbuf->buf;
} else { /* Sending this frame */
m_set_rcvif(sendmp, ifp);
- ifp->if_ipackets++;
rxr->rx_packets.ev_count++;
/* capture data for AIM */
rxr->bytes += sendmp->m_pkthdr.len;
Home |
Main Index |
Thread Index |
Old Index