mbox series

[v2,0/1] Fix the overrun check of the receive ring buffer

Message ID cover.1720506723.git.yong.huang@smartx.com
Headers show
Series Fix the overrun check of the receive ring buffer | expand

Message

Yong Huang July 9, 2024, 6:33 a.m. UTC
From: Hyman Huang <yong.huang@smartx.com>

The version 2 fix the corner case in e1000_has_rxbufs:
Handle the scenario of RDH==RDT while total_size > s->rxbuf_size.

Hyman Huang (1):
  e1000: Fix the overrun check of the receive ring buffer

 hw/net/e1000.c | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)