forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bfd: Change the update of forwarding flag.
Currently, we update the forwarding flag in bfd_set_state() and in bfd_forwarding_if_rx_update() if bfd_forwarding_if_rx is enabled. However, these are not the exact places where the forwarding flag needs to be updated. The exact places are in the bfd_process_packet() where bfd status are changed based on received control packet, and in the flow_push_stats() and compose_output_action__() where the rx_packet counter is updated. This commit changes the update of forwarding flag to the places mentioned above. Signed-off-by: Alex Wang <[email protected]> Signed-off-by: Ethan Jackson <[email protected]> Acked-by: Ethan Jackson <[email protected]>
- Loading branch information
Showing
5 changed files
with
54 additions
and
48 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
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
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