mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
ftgmac100: remove check on runt messages
This is a ethernet wire limitation not needed in emulation. It breaks U-Boot n/w stack also. Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-id: 20180530061711.23673-5-clg@kaod.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
44effc1f99
commit
99a00e55c7
1 changed files with 0 additions and 6 deletions
|
@ -822,12 +822,6 @@ static ssize_t ftgmac100_receive(NetClientState *nc, const uint8_t *buf,
|
|||
return size;
|
||||
}
|
||||
|
||||
if (size < 64 && !(s->maccr & FTGMAC100_MACCR_RX_RUNT)) {
|
||||
qemu_log_mask(LOG_GUEST_ERROR, "%s: dropped runt frame of %zd bytes\n",
|
||||
__func__, size);
|
||||
return size;
|
||||
}
|
||||
|
||||
if (!ftgmac100_filter(s, buf, size)) {
|
||||
return size;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue