Skip to content

Make pcapgo EthernetHandle use runtime poller#99

Merged
mosajjal merged 2 commits intogopacket:masterfrom
WGH-:gopacket/pcapgo-runtime-poller
Dec 2, 2024
Merged

Make pcapgo EthernetHandle use runtime poller#99
mosajjal merged 2 commits intogopacket:masterfrom
WGH-:gopacket/pcapgo-runtime-poller

Conversation

@WGH-
Copy link
Copy Markdown
Contributor

@WGH- WGH- commented Nov 22, 2024

This allows pcapgo to cooperate with the Go runtime poller to not block entire OS thread on operations.

This is rebase of google/gopacket#911

WGH- added 2 commits November 23, 2024 01:32
This allows pcapgo to cooperate with the Go runtime poller
to not block entire OS thread on operations.
The close-on-exec flag should always be used, where possible. The Go
standard library does that everywhere, so it makes sense to use it here,
too.
@mosajjal mosajjal merged commit fa916e7 into gopacket:master Dec 2, 2024
antoninbas pushed a commit to antrea-io/antrea that referenced this pull request Feb 6, 2025
Upgrade to an unreleased version which includes this patch:
gopacket/gopacket#99

For #6815 

Signed-off-by: Hang Yan <yhang@vmware.com>
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.

2 participants