]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[rtl8139] Strip CRC from received packets
authorMichael Brown <mcb30@ipxe.org>
Fri, 3 Sep 2010 15:16:18 +0000 (16:16 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 3 Sep 2010 20:29:44 +0000 (21:29 +0100)
commita3021ad0e42275f0c0e6c5205746c69ab63b8dfd
tree791ae8af4e3bbe149c8f2aa90c3232050ff35c97
parent28934eef81b3c7a494b12cb87804098041d64659
[rtl8139] Strip CRC from received packets

The rtl8139 driver includes the Ethernet CRC within the received
packet.  All current protocols ignore trailing garbage, but FCoE
requires the frame length to be correct (since the FCoE footer
position is calculated from the end of the packet), so fix the driver
to strip out the CRC.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/rtl8139.c