forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datapath/linux: make sure we have a local rule with proto kernel
Add a check on agent startup which ensures that a local lookup rule with proto kernel exists and also cleans up an old local proto unspec rule in case it exists and is before the new rule because rule deletion doesn't take protocol into account, i.e. "rule del pref 100 proto kernel" will delete a pref 100 proto unspec if it was added before the proto kernel one. Check for the rule only if the proxy rule is also present, otherwise init.sh won't have to move it. Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
- Loading branch information
Showing
2 changed files
with
91 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