High-Precision-Congestion-Control icon indicating copy to clipboard operation
High-Precision-Congestion-Control copied to clipboard

Bug in qbb-net-device.cc

Open zqz-net opened this issue 3 years ago • 1 comments

Hi yuliang, I found a bug in DequeueAndTransmit() method of qbb-net-device.cc file. In this function, may call DequeueAndTransmit() again (because switchnotifydequeue->call->sendPfc->call DequeAndTransmit()), this behavior will abort the program.

zqz-net avatar May 17 '21 03:05 zqz-net

Thank you. Could you please provide more details on this? The call chain you described seems legitimate to me, as after sending one packet, switch buffer occupancy decreases, so switch may decide to send a Resume packet (which is also sent by sendPfc function)

liyuliang001 avatar May 11 '22 15:05 liyuliang001