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 the M_HASFCS flag on received traffic.



details:   https://anonhg.NetBSD.org/src/rev/d3d7286ba2f2
branches:  trunk
changeset: 559789:d3d7286ba2f2
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Mar 24 00:31:15 2004 +0000

description:
Set the M_HASFCS flag on received traffic.

diffstat:

 sys/dev/ic/cs89x0.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r ee7c3028cfff -r d3d7286ba2f2 sys/dev/ic/cs89x0.c
--- a/sys/dev/ic/cs89x0.c       Tue Mar 23 23:36:15 2004 +0000
+++ b/sys/dev/ic/cs89x0.c       Wed Mar 24 00:31:15 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cs89x0.c,v 1.11 2003/10/30 01:58:17 simonb Exp $       */
+/*     $NetBSD: cs89x0.c,v 1.12 2004/03/24 00:31:15 matt Exp $ */
 
 /*
  * Copyright 1997
@@ -186,7 +186,7 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.11 2003/10/30 01:58:17 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.12 2004/03/24 00:31:15 matt Exp $");
 
 #include "opt_inet.h"
 
@@ -1467,6 +1467,7 @@
        struct ifnet *ifp = &sc->sc_ethercom.ec_if;
 
        ifp->if_ipackets++;
+       m->m_flags |= M_HASFCS;
 
 #if NBPFILTER > 0
        /*



Home | Main Index | Thread Index | Old Index