Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Set M_HASFCS does the frame does include the FCS ...
details: https://anonhg.NetBSD.org/src/rev/788b13b1658d
branches: trunk
changeset: 803301:788b13b1658d
user: matt <matt%NetBSD.org@localhost>
date: Mon Oct 20 23:41:46 2014 +0000
description:
Set M_HASFCS does the frame does include the FCS in the length.
diffstat:
sys/dev/ic/dwc_gmac.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 78ffd19bb951 -r 788b13b1658d sys/dev/ic/dwc_gmac.c
--- a/sys/dev/ic/dwc_gmac.c Mon Oct 20 23:22:57 2014 +0000
+++ b/sys/dev/ic/dwc_gmac.c Mon Oct 20 23:41:46 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac.c,v 1.18 2014/10/20 20:10:05 jmcneill Exp $ */
+/* $NetBSD: dwc_gmac.c,v 1.19 2014/10/20 23:41:46 matt Exp $ */
/*-
* Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.18 2014/10/20 20:10:05 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.19 2014/10/20 23:41:46 matt Exp $");
/* #define DWC_GMAC_DEBUG 1 */
@@ -1100,6 +1100,7 @@
/* finalize mbuf */
m->m_pkthdr.len = m->m_len = len;
m->m_pkthdr.rcvif = ifp;
+ m->m_flags |= M_HASFCS;
bpf_mtap(ifp, m);
ifp->if_ipackets++;
Home |
Main Index |
Thread Index |
Old Index