mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
ovs-numa: Fix a missing initialization.
This commit updates the pointer to 'struct numa_node' when initializing the 'struct cpu_core'. Signed-off-by: Alex Wang <alexw@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -122,6 +122,7 @@ discover_numa_and_core(void)
|
||||
hash_int(core_id, 0));
|
||||
list_insert(&n->cores, &c->list_node);
|
||||
c->core_id = core_id;
|
||||
c->numa = n;
|
||||
n_cpus++;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user