From: Ben Pfaff Date: Wed, 4 Mar 2009 23:47:47 +0000 (-0800) Subject: secchan: Fix another use-after-free bug. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=391dc9971040ad8dea65c2c74cfc944ae4a456d6;p=openvswitch secchan: Fix another use-after-free bug. --- diff --git a/secchan/ofproto.c b/secchan/ofproto.c index 7b2b468e..9eb1a269 100644 --- a/secchan/ofproto.c +++ b/secchan/ofproto.c @@ -2417,6 +2417,7 @@ expire_rule(struct cls_rule *cls_rule, void *p_) if (!dpif_flow_del(&p->dpif, &odp_flow)) { update_stats(rule, &odp_flow.stats); } + classifier_remove(&p->cls, &subrule->cr); rule_destroy(subrule); } } else {