dimstar_suse a0111d7006 Accepting request 1366810 from network:utilities
Update to version 4.5.3

Upstream bugfix release: bounded EAGAIN/ENOBUFS retry in sendpacket,
--multiplier timing drift fix, tcpprep buffer overflow on truncated
packets, fragroute MPLS-label overflow, tcpedit end-of-buffer pointer
fix, AF_XDP and netmap transmission fixes.

Supersedes SR 1366805, which contained only the version bump and spec
cleanup.  This revision additionally restores Linux TX_RING packet
injection, which openSUSE has been shipping disabled by accident:

- src/common/txring.h tests __GLIBC_MINOR instead of __GLIBC_MINOR__,
  so the check evaluates to 0 and the #else branch is always taken.
  Correcting the typo alone does not compile, because the glibc header
  the true branch selects (<netpacket/packet.h>) never provided the
  PACKET_TX_RING API - struct tpacket_hdr/tpacket_req and TPACKET_HDRLEN
  come only from <linux/if_packet.h>.  Fixed in
  tcpreplay-fix-txring-includes.patch (sent upstream).
- configure's TX_RING probe includes both <netpacket/packet.h> and
  <linux/if_packet.h>, which collide on struct sockaddr_ll before C23.
  The global 'export CFLAGS="%optflags -std=gnu11"' (added for the
  bundled, non-C23-clean libopts) therefore made the probe fail, leaving
  tcpreplay on the slower PF_PACKET send() path.  The pin is now applied
  to the libopts directory only, so libopts still gets gnu11 while the
  rest of the tree builds at the gcc default.

configure now reports 'Linux TX_RING: yes'.  Built and run-tested on
aarch64: replayed frames were captured on a veth peer, 3/3 successful,
0 failed.  rpmlint unchanged from the previous revision (0 errors,
1 warning: no-%check-section, 0 badness).

OBS-URL: https://build.opensuse.org/request/show/1366810
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpreplay?expand=0&rev=17
2026-07-21 21:09:01 +00:00
2026-07-20 15:48:43 +00:00
2026-07-20 15:48:43 +00:00
2026-07-20 15:48:43 +00:00
2026-07-20 15:48:43 +00:00
S
Description
No description provided
938 KiB
Languages
Public Key 100%