ofproto: Handle negative number of threads.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 22 Jan 2014 21:26:33 +0000 (13:26 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 24 Jan 2014 15:42:26 +0000 (07:42 -0800)
commit30ea0da7c1e6c574aae8639c938849f657a81331
treea4cd8c69ebc2bf85f8edac89c1e146c11c0681cc
parent631486bd29dc6cfe2dc7cf65495d308f4c7fca56
ofproto: Handle negative number of threads.

As of now, setting other_config:n-handler-threads to a negative
value causes ovs-vswitchd to crash.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto.c
ofproto/ofproto.h