diff options
author | Luiz Otavio O Souza <loos@FreeBSD.org> | 2015-04-17 03:56:50 +0000 |
---|---|---|
committer | Luiz Otavio O Souza <loos@FreeBSD.org> | 2015-04-17 03:56:50 +0000 |
commit | e4dc9b78d7257dce5719517fc5258a0d65a8a31e (patch) | |
tree | 98ccf80e5d2408242daab551878d23404bac3b94 /sys/net/altq/altq_var.h | |
parent | 631947366fec03402eef9dd3434a6488eb40d7c4 (diff) | |
download | src-e4dc9b78d7257dce5719517fc5258a0d65a8a31e.tar.gz src-e4dc9b78d7257dce5719517fc5258a0d65a8a31e.zip |
Fix the 'wrong packet header' errors for if_emac.
Do not strip the ethernet CRC until we read all data from FIFO, otherwise
the CRC bytes would be left in FIFO causing the failure of next packet
(wrong packet header).
When this error happens the receiver has to be disabled and the RX FIFO
flushed, discarding valid packets.
With this fix if_emac behaves a lot better.
Notes
Notes:
svn path=/head/; revision=281639
Diffstat (limited to 'sys/net/altq/altq_var.h')
0 files changed, 0 insertions, 0 deletions