treewide: unfork netlink
We were using our own fork because of the psample change whose
upstreaming effort has stalled since Mateusz left the company. That
netlink base is now getting too old and we have more patches on top
which all have since become irrelevant or got upstreamed.
The new version of netlink also no longer has the quirk that default
routes do not have a destination set, fix that in the DHCP tests and use
go-cmp as the raw binary values are annoying to get right and do not
matter. Semantic equivalence is what we're after.
Thus stop using our fork and instead pick up the rebased psample patches
from the new upstreaming effort. This removes one more replace directive
which is nice.
Change-Id: I21a59c2c9a99dd3baf672a8aa2ad9332e573cba1
Reviewed-on: https://review.monogon.dev/c/monogon/+/3750
Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
Tested-by: Jenkins CI
diff --git a/build/bazel/go.MODULE.bazel b/build/bazel/go.MODULE.bazel
index de8ad0d..e982ebd 100644
--- a/build/bazel/go.MODULE.bazel
+++ b/build/bazel/go.MODULE.bazel
@@ -337,8 +337,7 @@
},
"github.com/vishvananda/netlink": {
"patches": [
- "//third_party/go/patches:netlink-permhwaddr.patch",
- "//third_party/go/patches:netlink-use-rtm_setlink.patch",
+ "//third_party/go/patches:netlink-psample.patch",
],
},
"gvisor.dev/gvisor": {