Re: [PATCH bpf-next] samples/bpf: fix to xdpsock to avoid recycling frames
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2020-08-31 21:03:18
Also in:
bpf
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2020-08-31 21:03:18
Also in:
bpf
On 8/28/20 6:17 PM, Weqaar Janjua wrote:
The txpush program in the xdpsock sample application is supposed
to send out all packets in the umem in a round-robin fashion.
The problem is that it only cycled through the first BATCH_SIZE
worth of packets. Fixed this so that it cycles through all buffers
in the umem as intended.
Fixes: 248c7f9c0e21 ("samples/bpf: convert xdpsock to use libbpf for AF_XDP access")
Signed-off-by: Weqaar Janjua <redacted>Applied, thanks!