]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[eepro100] Do not discard short packets
authorMichael Brown <mcb30@ipxe.org>
Sat, 12 Mar 2011 12:48:29 +0000 (12:48 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sat, 12 Mar 2011 12:48:29 +0000 (12:48 +0000)
commitc315ae039424ad53c0a6c01c93eb0444ab8bfb37
tree533ca0cc29f95d22b17426d0995ef8d7eece4b0c
parent9a5b4aed69a31a49937dbbaaa9bab80725ce1d9c
[eepro100] Do not discard short packets

In a virtual environment such as qemu, we can legitimately receive
packets less than 64 bytes in length, such as ARP replies.  These are
currently discarded, causing most IPv4 communication to fail.

Fix by ignoring the RFDShort bit when receiving packets.

Reported-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/eepro100.c