[ovs-git] [openvswitch/ovs] 7f5f2b: netdev-dpdk: Avoid reconfiguration on reconnection...
noreply at github.com
Wed Aug 10 00:36:19 UTC 2016
Author: Ilya Maximets <i.maximets at samsung.com>
Date: 2016-08-09 (Tue, 09 Aug 2016)
netdev-dpdk: Avoid reconfiguration on reconnection of same vhost device.
Binding/unbinding of virtio driver inside VM leads to reconfiguration
of PMD threads. This behaviour may be abused by executing bind/unbind
in an infinite loop to break normal networking on all ports attached
to the same instance of Open vSwitch.
Fix that by avoiding reconfiguration if it's not necessary.
Number of queues will not be decreased to 1 on device disconnection but
it's not very important in comparison with possible DOS attack from the
inside of guest OS.
Fixes: 81acebdaaf27 ("netdev-dpdk: Obtain number of queues for vhost
ports from attached virtio.")
Reported-by: Ciara Loftus <ciara.loftus at intel.com>
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>
More information about the git