Fix go/issues/68082 for golang.org/x/net subproject #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was trying to resolve the multicast functionality issue in yggdrasil-network/yggdrasil-go#1149, and I decided to try using the
anet
library as a first step. It did help me with golang/go#40569, but unfortunately, it didn't help with golang/go#68082.I tried to dig dipper, and discovered that it's because
yggdrasil-go
uses the implementation of the net package provided by https://pkg.go.dev/golang.org/x/net instead of the core Go implementation (https://github.com/yggdrasil-network/yggdrasil-go/blob/4fbdeb4e3fd77dfc2bef8f9784bf14213d5461e4/go.mod#L17). Andgolang.org/x/net
has different linkage name forzoneCache
symbol.I'm not sure if it's worthwhile to support
golang.org/x/net
in theanet
package, but it may be helpful for some people.