[pcnet32] Fix received packet corruption
authorMichael Brown <mcb30@etherboot.org>
Thu, 26 Mar 2009 15:31:15 +0000 (15:31 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 26 Mar 2009 15:44:59 +0000 (15:44 +0000)
commit5538a38b9c71fb422cd3b5310051c8150eccdb1d
tree1501d019e182ec35da6e6e03734fb4e826bf1d94
parent03ff8cd3e26a4dd04068fdf7d1542cbc8fa0b3f7
[pcnet32] Fix received packet corruption

The pcnet32 driver mismanages its RX buffers, with the result that
packets get corrupted if more than one packet arrives between calls to
poll().

Originally-fixed-by: Bill Lortz <Bill.Lortz@premier.org>
Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com>
Tested-by: Stefan Hajnoczi <stefanha@gmail.com>
src/drivers/net/pcnet32.c