43a44
> #include "debug/Drain.hh"
171c172,174
< if (drainEvent && !sendEvent.scheduled()) {
---
> if (drainEvent && transmitList.empty() && !sendEvent.scheduled()) {
> DPRINTF(Drain, "PacketQueue done draining,"
> "processing drain event\n");
203a207
> DPRINTF(Drain, "PacketQueue not drained\n");