Skip to content

[Net/TCP] AcceptQueue timeout mechanism bug. #11535

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

Closed
JiaHuann opened this issue Mar 10, 2025 · 2 comments
Closed

[Net/TCP] AcceptQueue timeout mechanism bug. #11535

JiaHuann opened this issue Mar 10, 2025 · 2 comments
Labels
type: bug Something isn't working

Comments

@JiaHuann
Copy link

JiaHuann commented Mar 10, 2025

Description

Hi, Developers and Maintainers, I am a newbie for Networking,
I am using a little lower kernel as a client to curl to gVisor sandbox inside the k8s but found the e.acceptQueue will be quickly fullfield.After that, gVisor using synCookies that correct.
However, after a long time ,the acceptQueue is still full(I have turned off the curl), and I still find that content in the queue.

I think it is because of the conflict between the low version kernel netstack implementation and the operation in gVisor.

		if h.ep.SendTSOk && !s.parsedOptions.TS {
			h.ep.stack.Stats().DroppedPackets.Increment()
			return nil
		}

But, this is not a problem. The real question is, because of this type of dropping package, the execute path will nerver go to delete as below:

delete(lEP.acceptQueue.pendingEndpoints, ep)

Whenever I use div to set break and to do some observation , always full like the pic belowing:

Image I think it might be a bug?

Thanks for your time to analyze and reply!

Steps to reproduce

using 3.10.107 version kernel as client to curl any service which is exposed
And client must send package without timestamp option.

runsc version

runsc version release-20250113.0
spec: 1.1.0-rc.1

uname

5.4.241 (on pod mother machine)

@JiaHuann JiaHuann added the type: bug Something isn't working label Mar 10, 2025
@JiaHuann JiaHuann changed the title [Net/TCP] AcceptQueue Timeout mechanism not implemented [Net/TCP] AcceptQueue timeout mechanism bug. Mar 10, 2025
@JiaHuann JiaHuann reopened this Mar 10, 2025
@milantracy
Copy link
Contributor

I don't understand using 3.10.107 version kernel as client in reproduce steps

Can you reproduce the issue from a different Linux kernel version?

@JiaHuann
Copy link
Author

I don't understand using 3.10.107 version kernel as client in reproduce steps

Can you reproduce the issue from a different Linux kernel version?

ok,milantracy,thanks for your reply, i will recognize my question in a new issue with more info and details.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants