HomeFreeBSD

MFC r361759

Description

MFC r361759

netmap: vtnet: fix race condition in rxsync

This change prevents a race that happens when rxsync dequeues
N-1 rx packets (with N being the size of the netmap rx ring).
In this situation, the loop exits without re-enabling the
rx interrupts, thus causing the VQ to stall.

Details

Provenance
vmaffioneAuthored on
Parents
rS362024: MFC r361758
Branches
Unknown
Tags
Unknown