Skip to content

Conversation

@bradfitz
Copy link
Member

Fixes #3762
Updates #3745 (probably fixes?)

@bradfitz bradfitz requested a review from maisem January 19, 2022 17:52
Data: vv,
})
ns.linkEP.InjectInbound(pn, packetBuf)
packetBuf.DecRef()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional: would be nice to add tests for this

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, still thinking about that. I think the integration tests somehow, but that seems slow & unreliable.

I'd like something tighter.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PTAL

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Change-Id: Idbb3fd6d749d3e4effdf96de77a1106584822fef
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
@bradfitz bradfitz force-pushed the bradfitz/netstack_ref branch from 2fd3f97 to 25c59f6 Compare January 19, 2022 20:09
…ction

Fixes #3762
Updates #3745 (probably fixes?)

Change-Id: I1d3f0590fd5b8adfbc9110bc45ff717bb9e79aae
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
@bradfitz bradfitz force-pushed the bradfitz/netstack_ref branch from 25c59f6 to 388c7dd Compare January 19, 2022 20:12
@bradfitz bradfitz merged commit 185825d into main Jan 19, 2022
@bradfitz bradfitz deleted the bradfitz/netstack_ref branch January 19, 2022 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

netstack: leaking packet buffers

2 participants