[ovs-git] [openvswitch/ovs] ed856d: datapath: Convert dp rcu read operation to locked ...

GitHub noreply at github.com
Tue Nov 4 21:55:32 UTC 2014


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: ed856dacb4fe2539c7fffa09850a7336c9294e4e
      https://github.com/openvswitch/ovs/commit/ed856dacb4fe2539c7fffa09850a7336c9294e4e
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2014-11-04 (Tue, 04 Nov 2014)

  Changed paths:
    M datapath/datapath.c

  Log Message:
  -----------
  datapath: Convert dp rcu read operation to locked operations

dp read operations depends on ovs_dp_cmd_fill_info(). This API
needs to looup vport to find dp name, but vport lookup can
fail. Therefore to keep vport reference alive we need to
take ovs lock.

Found by code inspection.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>




More information about the git mailing list