Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/dev/ic Apply patch (requested by matt):
details: https://anonhg.NetBSD.org/src/rev/e727d73cce6b
branches: netbsd-1-5
changeset: 491292:e727d73cce6b
user: he <he%NetBSD.org@localhost>
date: Sat Apr 21 21:31:10 2001 +0000
description:
Apply patch (requested by matt):
Set M_HASFCS on mbuf to indicate that CRC is at the end of the
mbuf.
diffstat:
sys/dev/ic/sgec.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 7ef67232c3c3 -r e727d73cce6b sys/dev/ic/sgec.c
--- a/sys/dev/ic/sgec.c Sat Apr 21 21:28:33 2001 +0000
+++ b/sys/dev/ic/sgec.c Sat Apr 21 21:31:10 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sgec.c,v 1.6 2000/06/05 02:28:19 matt Exp $ */
+/* $NetBSD: sgec.c,v 1.6.2.1 2001/04/21 21:31:10 he Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved.
*
@@ -428,6 +428,7 @@
ze_add_rxbuf(sc, sc->sc_nextrx);
m->m_pkthdr.rcvif = ifp;
m->m_pkthdr.len = m->m_len = len;
+ m->m_flags |= M_HASFCS;
if (++sc->sc_nextrx == RXDESCS)
sc->sc_nextrx = 0;
eh = mtod(m, struct ether_header *);
Home |
Main Index |
Thread Index |
Old Index