13.04.2023 20:19, Stefan Hajnoczi wrote:
If the driver sets large_send_mss to 0 then a divide-by-zero occurs. Even if the division wasn't a problem, the for loop that emits MSS-sized packets would never terminate.Solve these issues by skipping offloading when large_send_mss=0.
Cc: qemu-sta...@nongnu.org.
Buglink: https://gitlab.com/qemu-project/qemu/-/issues/1582 Fixes: 6d71357a3b65 ("rtl8139: honor large send MSS value")
/mjt