]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netmap: nmreplay: import various fixes from upstream (2704a51839906)
authorvmaffione <vmaffione@FreeBSD.org>
Fri, 21 Dec 2018 13:56:57 +0000 (13:56 +0000)
committervmaffione <vmaffione@FreeBSD.org>
Fri, 21 Dec 2018 13:56:57 +0000 (13:56 +0000)
commit17d7e74b0a97b7bade1cfb103cd435c7e9f56c1b
tree8712359415fae930feeb23912da5613cffd39430
parented4f78efee1dd49986f59a449065c0aa8f3f2920
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
tools/tools/netmap/nmreplay.c