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/pcmcia Pull up revision 1.10 (requested by gmcg...



details:   https://anonhg.NetBSD.org/src/rev/cfeb68730062
branches:  netbsd-1-5
changeset: 491883:cfeb68730062
user:      he <he%NetBSD.org@localhost>
date:      Mon Jun 11 19:17:03 2001 +0000

description:
Pull up revision 1.10 (requested by gmcgarry):
  Packet includes CRC, so mark it in the mbuf header.  Fixes the
  ``discarding oversize frame (len=1518)'' problem.

diffstat:

 sys/dev/pcmcia/if_xi.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 14274499a831 -r cfeb68730062 sys/dev/pcmcia/if_xi.c
--- a/sys/dev/pcmcia/if_xi.c    Mon Jun 11 19:12:01 2001 +0000
+++ b/sys/dev/pcmcia/if_xi.c    Mon Jun 11 19:17:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_xi.c,v 1.2.2.1 2000/08/09 23:14:52 gmcgarry Exp $   */
+/*     $NetBSD: if_xi.c,v 1.2.2.2 2001/06/11 19:17:03 he Exp $ */
 /*     OpenBSD: if_xe.c,v 1.9 1999/09/16 11:28:42 niklas Exp   */
 
 /*
@@ -849,6 +849,7 @@
                return (recvcount);
        m->m_pkthdr.rcvif = ifp;
        m->m_pkthdr.len = pktlen;
+       m->m_flags |= M_HASFCS;
        len = MHLEN;
        top = 0;
        mp = &top;



Home | Main Index | Thread Index | Old Index