-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Fix service id exceeds max limit #37191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix service id exceeds max limit #37191
Conversation
acfa80f
to
1fd97d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@haozhangami Thank you for this update!
ff78acc
to
d773793
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@haozhangami Thank you for the updates.
/test |
Thank you for the PR! Your base branch is outdated, which is causing CI failures. Could you rebase your branch onto the latest main? Thanks! https://github.com/cilium/cilium/actions/runs/13279191498/job/37074148532
|
d773793
to
2e16fcf
Compare
/test |
2e16fcf
to
cefd475
Compare
The maximum service id is 65535 due to the limit of __u16 rev_nat_index. the service command line and service api handler do not check the maximum id. this patch checks the maximum service id. Fixes: cilium#32758 Signed-off-by: Hao Zhang <hao.zhang.am.i@gmail.com>
cefd475
to
fb748bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
/test |
The maximum service id is 65535 due to the limit of __u16 rev_nat_index. the service command line and service api handler do not check the maximum id. this patch checks the maximum service id.
Fixes: #32758