tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [Greg Troxel] Re: Getting "write: address family not supported by protocol family" when using Restic over Tailscale
- To: Greg Troxel <gdt%lexort.com@localhost>
- Subject: Re: [Greg Troxel] Re: Getting "write: address family not supported by protocol family" when using Restic over Tailscale
- From: Martin Husemann <martin%duskware.de@localhost>
- Date: Mon, 19 Oct 2026 10:22:00 +0200
On Sun, Oct 18, 2026 at 07:07:22PM -0400, Greg Troxel wrote:
> I think we should change:
>
> --- if_tun.c.~1.178.~ 2025-11-15 18:30:51.076488670 -0500
> +++ if_tun.c 2026-10-18 19:02:22.920287647 -0400
> @@ -629,7 +629,6 @@ tun_output(struct ifnet *ifp, struct mbu
> IFQ_ENQUEUE(&ifp->if_snd, m0, error);
> if (error) {
> if_statinc(ifp, if_collisions);
> - error = EAFNOSUPPORT;
> m0 = NULL;
> goto out;
> }
The patched code makes sense for AF_INET6 and AF_INET.
I am not sure the original code makes sense for AF_UNSPEC.
There is also a EAFNOSUPPORT error case for AF_INET a few lines above
that does not look good for AF_INET6 (sharing that code path).
Martin
Home |
Main Index |
Thread Index |
Old Index