8618d19b52
When adding a DPDK port to ovs-vswitchd with DPDK, the vmxnet3 device fails to activate due to mismatched magic number. This failure causes following operations to run: start the port, stop the port, reconfigure and re-start the port. During reconfigure, if there is an existing memzone, driver will reuse it. But reconfigure may request different number of Tx/Rx queues. This results in a memzone with wrong size and potential invalid memory access. To fix this, free the memzone if found and reserve a new one. Signed-off-by: Yong Wang <yongwang@vmware.com> Reviewed-by: Guolin Yang <gyang@vmware.com> Reviewed-by: Daniele Di Proietto <ddiproietto@vmware.com> Tested-by: Daniele Di Proietto <ddiproietto@vmware.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> |
||
---|---|---|
.. | ||
crypto | ||
net | ||
Makefile |