Hi Ben,

What about the patch? Isn't this acceptable?

diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index c5bd949..8c85de5 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -6548,6 +6548,7 @@ delete_group__(struct ofproto *ofproto, struct ofgroup 
*ofgroup)
     flow_mod_init(&ofm.fm, &match, 0, NULL, 0, OFPFC_DELETE);
     ofm.fm.delete_reason = OFPRR_GROUP_DELETE;
     ofm.fm.out_group = ofgroup->group_id;
+    ofm.fm.table_id = 0xff;
     handle_flow_mod__(ofproto, &ofm, NULL);
 
     hmap_remove(&ofproto->groups, &ofgroup->hmap_node);


The Open vSwitch version number:

ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 2.5.90
Compiled Dec 18 2015 04:13:19


The Git commit number:

git rev-parse HEAD
8ab1170b06ddf33dfb06b0346d21f2e4380d8eea

Best regards,
Zoltan

-----Original Message-----
From: Ben Pfaff [mailto:[email protected]] 
Sent: Monday, December 21, 2015 11:07 PM
To: Zoltán Balogh
Cc: [email protected]
Subject: Re: [ovs-discuss] When deleting a group, flows from table other than 0 
are not removed.

On Mon, Dec 21, 2015 at 04:33:10PM +0000, Zoltán Balogh wrote:
> When a group is deleted, I would expect that all flows which include a Group 
> action with the ID of the deleted group should be removed.
> Currently, only flows in table 0 are removed. For instance:

I can confirm that there's a bug here.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to