setup n_upcall_pids for vport_request when destroy all channels
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 22 Jan 2015 11:31:31 +0000 (12:31 +0100)
committerThomas Graf <tgraf@noironetworks.com>
Thu, 22 Jan 2015 11:31:58 +0000 (12:31 +0100)
commitaf83c480b11c6e64231a622cffa79ed58d79564e
tree7b819d5a704fca41852668742afe123f9f348b87
parenta1cd27a4407460adef7baef5933af9a72ce85fc5
setup n_upcall_pids for vport_request when destroy all channels

Setup the n_upcall_pids to 1, otherwise the
OVS_VPORT_ATTR_UPCALL_PID nlattr will be incorrect.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
lib/dpif-linux.c