-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn-controller: Avoid infinite replying for TCP/ICMP connection reset…
… messages When the ovn controller receives an ip packet that targets a lport that has ACL rule to reject ip packets, the controller will reply with TCP_RST or icmp4/6 unreachable packet to notify the sender that the destination is not available. In turn, the receiver host will receive the notification packet and handle it as a normal IP packet and if the receiver host is part of the same logical-switch/port-group or has IP reject ACL rule it will send TCP_RST or icmp4/6 unreachable packet replying to the TCP_RST or icmp4/6 unreachable packet we received and here we will enter to an infinity loop of replying about replying which will consume high CPU. To avoid such scenarios this patch proposes to drop/ignore TCP_RST or icmp4/6 unreachable packets that received on lport that has IP reject ACL rules. Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1934011 Fixes: 64f8c9e ("actions: Add a new OVN action - reject {}.") Signed-off-by: Mohammad Heib <mheib@redhat.com> Signed-off-by: Numan Siddique <numans@ovn.org>
- Loading branch information
1 parent
58ed501
commit bcd9a8f
Showing
2 changed files
with
142 additions
and
0 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