Unverified Commit c648bb60 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!7601 cpumap: Zero-initialise xdp_rxq_info struct before running XDP program

parents 40e4eb12 086fbe7a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ static int cpu_map_bpf_prog_run_xdp(struct bpf_cpu_map_entry *rcpu,
				    void **frames, int n,
				    struct xdp_cpumap_stats *stats)
{
	struct xdp_rxq_info rxq;
	struct xdp_rxq_info rxq = {};
	struct xdp_buff xdp;
	int i, nframes = 0;