We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09d8ad1 commit efa90b5Copy full SHA for efa90b5
kernel/bpf/cpumap.c
@@ -155,8 +155,7 @@ static void cpu_map_kthread_stop(struct work_struct *work)
155
kthread_stop(rcpu->kthread);
156
}
157
158
-static struct sk_buff *cpu_map_build_skb(struct bpf_cpu_map_entry *rcpu,
159
- struct xdp_frame *xdpf,
+static struct sk_buff *cpu_map_build_skb(struct xdp_frame *xdpf,
160
struct sk_buff *skb)
161
{
162
unsigned int hard_start_headroom;
@@ -365,7 +364,7 @@ static int cpu_map_kthread_run(void *data)
365
364
struct sk_buff *skb = skbs[i];
366
int ret;
367
368
- skb = cpu_map_build_skb(rcpu, xdpf, skb);
+ skb = cpu_map_build_skb(xdpf, skb);
369
if (!skb) {
370
xdp_return_frame(xdpf);
371
continue;
0 commit comments