Skip to content

Commit

Permalink
ofproto/bond: fix interal flow leak of tcp-balance bond
Browse files Browse the repository at this point in the history
ofproto_dpif_delete_internal_flow() never deletes any flows
because out_port and out_group mismatch.

Signed-off-by: Huanle Han <[email protected]>
Signed-off-by: Andy Zhou <[email protected]>
  • Loading branch information
hanxueluo authored and azhou-nicira committed Feb 24, 2017
1 parent 05df162 commit 02a9757
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ofproto/ofproto-dpif.c
Original file line number Diff line number Diff line change
Expand Up @@ -5183,6 +5183,8 @@ ofproto_dpif_delete_internal_flow(struct ofproto_dpif *ofproto,
.match = *match,
.priority = priority,
.table_id = TBL_INTERNAL,
.out_port = OFPP_ANY,
.out_group = OFPG_ANY,
.flags = OFPUTIL_FF_HIDDEN_FIELDS | OFPUTIL_FF_NO_READONLY,
.command = OFPFC_DELETE_STRICT,
};
Expand Down

0 comments on commit 02a9757

Please sign in to comment.