Message ID | 20210122154725.22140-5-bjorn.topel@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4896d7e37ea5217d42e210bfcf4d56964044704f |
Delegated to: | BPF |
Headers | show |
Series | Various cleanups/fixes for AF_XDP selftests | expand |
diff --git a/tools/testing/selftests/bpf/xdpxceiver.c b/tools/testing/selftests/bpf/xdpxceiver.c index 77d1bda37afa..9f40d310805a 100644 --- a/tools/testing/selftests/bpf/xdpxceiver.c +++ b/tools/testing/selftests/bpf/xdpxceiver.c @@ -728,7 +728,6 @@ static void worker_pkt_validate(void) u32 payloadseqnum = -2; while (1) { - pkt_node_rx_q = malloc(sizeof(struct pkt)); pkt_node_rx_q = TAILQ_LAST(&head, head_s); if (!pkt_node_rx_q) break;