Thread (12 messages) flat view 12 messages, 4 authors, 2017-10-14

Re: [net-next V7 PATCH 4/5] bpf: cpumap add tracepoints

From: David Miller <davem@davemloft.net>
Date: 2017-10-14 16:54:27

From: Jesper Dangaard Brouer <redacted>
Date: Thu, 12 Oct 2017 14:27:05 +0200
quoted hunk ↗ jump to hunk
@@ -355,7 +360,10 @@ struct bpf_cpu_map_entry *__cpu_map_entry_alloc(u32 qsize, u32 cpu, int map_id)
 	err = ptr_ring_init(rcpu->queue, qsize, gfp);
 	if (err)
 		goto free_queue;
-	rcpu->qsize = qsize
+
+	rcpu->cpu    = cpu;
+	rcpu->map_id = map_id;
+	rcpu->qsize  = qsize;
 
 	/* Setup kthread */
 	rcpu->kthread = kthread_create_on_node(cpu_map_kthread_run, rcpu, numa,
So this fixes a build failure (missing final semicolon) introduced by
an earlier patch in the series, please fix this up so that this series
is properly bisectable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help