Skip to content

Conversation

tommyp1ckles
Copy link
Contributor

@tommyp1ckles tommyp1ckles commented Aug 21, 2024

Previously this was doing a direct comparison agains the TUPLE_IN value. However this field is actually a flag bit set.

The non IN/OUT values appear to only be used for ctmap, not snat so this should have no outcome on functionality, however this makes this code future proof in case this assumption ever changes.

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Aug 21, 2024
Previously this was doing a direct comparison agains the TUPLE_IN
value. However this field is actually a flag bit set.

The non IN/OUT values appear to only be used for ctmap, not snat
so this should have no outcome on functionality, however this
makes this code future proof in case this assumption ever changes.

Signed-off-by: Tom Hadlaw <tom.hadlaw@isovalent.com>
@tommyp1ckles tommyp1ckles force-pushed the pr/tp/treat-flags-as-bitmask branch from 266c3e6 to 94aa4c6 Compare August 21, 2024 23:32
@tommyp1ckles tommyp1ckles added the release-note/misc This PR makes changes that have no direct user impact. label Aug 21, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Aug 21, 2024
@tommyp1ckles tommyp1ckles marked this pull request as ready for review September 6, 2024 16:43
@tommyp1ckles tommyp1ckles requested a review from a team as a code owner September 6, 2024 16:43
@tommyp1ckles
Copy link
Contributor Author

/test

@tommyp1ckles tommyp1ckles enabled auto-merge October 4, 2024 04:33
@tommyp1ckles tommyp1ckles added this pull request to the merge queue Oct 4, 2024
Merged via the queue into main with commit bec2074 Oct 4, 2024
303 checks passed
@tommyp1ckles tommyp1ckles deleted the pr/tp/treat-flags-as-bitmask branch October 4, 2024 05:37
@maintainer-s-little-helper maintainer-s-little-helper bot added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants