diff options
author | joerg <joerg@FreeBSD.org> | 2003-01-29 15:19:20 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2003-01-29 15:19:20 +0000 |
commit | 03d7b34fa46c206231debdc3e7b92f51a6dc1e04 (patch) | |
tree | 610aca79a8510689915f3042a5f69ee0c8eb96d6 /sys/dev/xe | |
parent | c3d51c2ad4754001233680fd283da8bf7f51f704 (diff) | |
download | FreeBSD-src-03d7b34fa46c206231debdc3e7b92f51a6dc1e04.zip FreeBSD-src-03d7b34fa46c206231debdc3e7b92f51a6dc1e04.tar.gz |
The Xircom hardware always delivers received packets with the FCS appended.
Thus, mark the M_HASFCS flag so the generic ethernet layers will account
for this.
Diffstat (limited to 'sys/dev/xe')
-rw-r--r-- | sys/dev/xe/if_xe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c index 8cd29d1..6ed5282 100644 --- a/sys/dev/xe/if_xe.c +++ b/sys/dev/xe/if_xe.c @@ -718,6 +718,8 @@ xe_intr(void *xscp) /* Deliver packet to upper layers */ if (mbp != NULL) { + mbp->m_flags |= M_HASFCS; /* FCS is included in our + * packet */ mbp->m_pkthdr.len = mbp->m_len = len; (*ifp->if_input)(ifp, mbp); /* Send the packet on its way */ ifp->if_ipackets++; /* Success! */ |