HomeFreeBSD

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

Description

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.

MFC after: 3 days

Details

Provenance
vmaffioneAuthored on
Parents
rS342300: netmap: move buf_size validation code to its own function
Branches
Unknown
Tags
Unknown