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.
This commit is contained in:
Joerg Wunsch 2003-01-29 15:19:20 +00:00
parent 29546985ec
commit 501901c61d

View File

@ -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! */