[ovs-git] [openvswitch/ovs] fea7ac: ofproto: Hold ofproto_mutex when enabling or disab...

GitHub noreply at github.com
Thu Jul 2 19:54:08 UTC 2015


  Branch: refs/heads/branch-2.4
  Home:   https://github.com/openvswitch/ovs
  Commit: fea7ac6166b5f7e542cc89d57a8d821e99978dd1
      https://github.com/openvswitch/ovs/commit/fea7ac6166b5f7e542cc89d57a8d821e99978dd1
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-07-02 (Thu, 02 Jul 2015)

  Changed paths:
    M ofproto/ofproto.c

  Log Message:
  -----------
  ofproto: Hold ofproto_mutex when enabling or disabling eviction.

ofproto_enable_eviction() and ofproto_disable_eviction() require
ofproto_mutex (and they were even annotated that way, though not on their
prototypes but only at definition), but it wasn't being held.  This fixes
the problem.

Found by inspection.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>




More information about the git mailing list