ofproto-dpif: Remove datapath flows of deleted ports.
authorJustin Pettit <jpettit@nicira.com>
Fri, 16 Nov 2012 06:30:41 +0000 (22:30 -0800)
committerJustin Pettit <jpettit@nicira.com>
Fri, 16 Nov 2012 20:35:55 +0000 (12:35 -0800)
commita088a1ffeba3d113c1be918969085a5c0de0d518
tree72ec2432d45d687cc44c55a6862a30c487c7d9e5
parentbcb1f5a1fdcb3c50654a2ddec442d59c8195b3d9
ofproto-dpif: Remove datapath flows of deleted ports.

Commit acf608 (ofproto-dpif: Use a single underlying datapath across
multiple bridges.) causes datapath flows from deleted ports to not be
removed.  The issue is that the code that bulk deletes old flows doesn't
know the datapath port number that makes up the datapath flow
definition.  This commit keeps track of the datapath port in the facet
for use when the datapath flow eventually needs to be removed.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
ofproto/ofproto-dpif.c