ovs-numa: Relax the ovs_numa_*() input argument check.
authorAlex Wang <alexw@nicira.com>
Fri, 5 Sep 2014 06:17:32 +0000 (06:17 +0000)
committerAlex Wang <alexw@nicira.com>
Fri, 5 Sep 2014 22:19:53 +0000 (15:19 -0700)
commit421aa227d0cf225b8a6dbf77c3442f57a46ef52f
tree20d79774697ad3800bf036d3a5ac1d5a056844be
parent012c0a040f9aac5f3e75ca05843cf05aff8a97cf
ovs-numa: Relax the ovs_numa_*() input argument check.

Many of the ovs_numa_*() functions abort the program when the
input cpu socket or core id is invalid.  This commit relaxes
the input check and makes these functions return OVS_*_UNSPEC
when the check fails.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/ovs-numa.c