[ovs-git] [openvswitch/ovs] b2623f: ofproto-dpif: Do not allow recirc_id freed by non-...

GitHub noreply at github.com
Tue Jan 6 18:54:35 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b2623fdbb31570e7e3e39ac9c074b0978b4dd2dc
      https://github.com/openvswitch/ovs/commit/b2623fdbb31570e7e3e39ac9c074b0978b4dd2dc
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-01-06 (Tue, 06 Jan 2015)

  Changed paths:
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  ofproto-dpif: Do not allow recirc_id freed by non-owning ofproto.

This commit changes the VLOG_ERR (for warning unmatched ofproto)
in ofproto_dpif_free_recirc_id() to an assert statement, so that
recirc_id is never allowed to be freed by non-owning ofproto.

Suggested-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list