HomeFreeBSD

MFC r342301

Description

MFC r342301

netmap: nmreplay: import various fixes from upstream (2704a51839906)

Changelist:

  • General reformatting
  • Fix packet duplication in cons(). Whenever cons() reached the burst limit it would send all pending packets without advancing head. This caused the last injected packet to be sent again in the next round.
  • Fix full-speed transmissions after first loop.

Details

Provenance
vmaffioneAuthored on
Parents
rS342391: MFC r342300
Branches
Unknown
Tags
Unknown