-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "controller: Properly handle localnet flows in I+P.".
This reverts commit edc064b. In setups with multiple localnet ports w/o vlans (or multiple localnet ports with the same vlans), that patch was trying to create the same flows with action conjunction multiple times, which caused the following assert: 0 0x00007ffff77cd834 in __pthread_kill_implementation () from /lib64/libc.so.6 1 0x00007ffff777b8ee in raise () from /lib64/libc.so.6 2 0x00007ffff77638ff in abort () from /lib64/libc.so.6 3 0x000000000042f861 in flow_is_preferred (a=0xafe9a0, b=0xaf9380) at controller/ofctrl.c:966 4 0x000000000042f340 in link_installed_to_desired (i=0xb2eaf0, d=0xafe9a0) at controller/ofctrl.c:987 5 0x000000000042c17c in update_installed_flows_by_track (flow_table=0x813a80, bc=0x7ffffffcc740, installed_flows=0x7894e0 <installed_pflows>, msgs=0x7ffffffcc790) at controller/ofctrl.c:2583 6 0x000000000042af14 in ofctrl_put (lflow_table=0x810180, pflow_table=0x813a80, pending_ct_zones=0x8129b0, pending_lb_tuples=0x80e030, sbrec_meter_by_name=0x7e6840, req_cfg=0, lflows_changed=true, pflows_changed=true) at controller/ofctrl.c:2826 7 0x000000000045015c in main (argc=1, argv=0x7fffffffe218) at controller/ovn-controller.c:5788 Reverting that patch means that flows such as table_id=0, priority=180, vlan_tci=0x0000/0x1000, actions=conjunction(100,2/2) remains after the localnet port is deleted. Fixes: edc064b ("controller: Properly handle localnet flows in I+P.") Reported-at: https://issues.redhat.com/browse/FDP-926 Signed-off-by: Xavier Simonart <[email protected]> Signed-off-by: Dumitru Ceara <[email protected]>
- Loading branch information
1 parent
a86dcfb
commit d276728
Showing
2 changed files
with
63 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters