search for: cp_tx_buffer_size

Displaying 1 result from an estimated 1 matches for "cp_tx_buffer_size".

2006 Nov 15
3
qemu/rtl8139: Max transmit frame size
Hi: I noticed a bug in the realloc error checking code in the QEMU backend for RealTek8139. However, what''s worse is that there is no cap on the total size of the transmit buffer at all. So a guest can keep extending it until memory runs out. CP_TX_BUFFER_SIZE is already 64K. So it seems to me that we don''t need the while loop to extend the buffer at all since no transmitted packet should be anywhere near this size. Are there any objections to getting rid of the following while loop altogether and replacing it with a straight failure? Cheers,...