diff options
author | Alex Wang <alexw@nicira.com> | 2014-09-08 08:24:15 -0700 |
---|---|---|
committer | Alex Wang <alexw@nicira.com> | 2014-09-08 13:07:07 -0700 |
commit | 46a14035521c52bf38d6e32927a8e33f19c76fff (patch) | |
tree | 38a833c712f92aa3c72544b9ec0d409f59a94947 | |
parent | 800711c3c2c79464d837872f681ab3d257e8fdd6 (diff) | |
download | openvswitch-46a14035521c52bf38d6e32927a8e33f19c76fff.tar.gz |
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>
-rw-r--r-- | lib/ovs-numa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ovs-numa.c b/lib/ovs-numa.c index 4f0ba0db7..7da14073e 100644 --- a/lib/ovs-numa.c +++ b/lib/ovs-numa.c @@ -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++; } } |