[ovs-git] [openvswitch/ovs] 688188: netdev-dpdk: Add missed lock in set_config for vho...

GitHub noreply at github.com
Fri Sep 23 20:56:42 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 6881885a3b04f08ee7809bf22c9ba22f680ef1d1
      https://github.com/openvswitch/ovs/commit/6881885a3b04f08ee7809bf22c9ba22f680ef1d1
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Add missed lock in set_config for vhost client mode.

'vhost_driver_flags' and 'vhost_id' are mutable and must be protected
by 'dev->mutex'.

Fixes: 2d24d165d6a5 ("netdev-dpdk: Add new 'dpdkvhostuserclient' port type")
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>


  Commit: 41964543790de3dbbef31ba7d146d798f6037dcf
      https://github.com/openvswitch/ovs/commit/41964543790de3dbbef31ba7d146d798f6037dcf
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: More correct log message on vhost_driver_unregister failure.

Current error message incorrect for the client mode.

Fixes: c1ff66ac80b5 ("netdev-dpdk: vHost client mode and reconnect")
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>


Compare: https://github.com/openvswitch/ovs/compare/11b75557aebd...41964543790d


More information about the git mailing list