[ovs-git] [openvswitch/ovs] adc48a: ofctrl: Fix use of uninitialized hash value in ofc...

GitHub noreply at github.com
Tue Jul 28 19:42:28 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: adc48a5d252c28bd568bc1d13f0c2a4784f5a5e9
      https://github.com/openvswitch/ovs/commit/adc48a5d252c28bd568bc1d13f0c2a4784f5a5e9
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-07-28 (Tue, 28 Jul 2015)

  Changed paths:
    M ovn/controller/ofctrl.c

  Log Message:
  -----------
  ofctrl: Fix use of uninitialized hash value in ofctrl_add_flow().

When ofctrl_add_flow() called ovn_flow_lookup(), the latter used the hash
from the flow's hmap_node, but the former hadn't initialized it at that
point.  This commit fixes the problem.

Reported-by: Russell Bryant <rbryant at redhat.com>
Reported-at: http://openvswitch.org/pipermail/dev/2015-July/057851.html
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>




More information about the git mailing list