Module Name: src Committed By: thorpej Date: Thu Sep 1 02:35:06 UTC 2022
Modified Files: src/sys/net: pktqueue.c Log Message: pktq_dequeue(): Prevent packets from getting stuck beind barrier markers. pktq_barrier() ensures that all packets enqueued before the barrier have been dequeued before the barrier returns. However, previously, pktq_dequeue() would return NULL when a barrier marker was encountered. If there were packets queued up behind the marker and no additional softint were scheduled for the pktqueue, those packets would end up stranded. pktq_dequeue() now continues to the next slot after the marker, ensuring that processing can continue after the barrier has been signaled. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/net/pktqueue.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.