And since IPv6 is now optional for umb(4), we can just skip evaluation of the IPv6 part of the IP configuration, if it wasn't enabled.
Gerhard Index: sys/dev/usb/if_umb.c =================================================================== RCS file: /cvs/src/sys/dev/usb/if_umb.c,v retrieving revision 1.33 diff -u -p -u -p -r1.33 if_umb.c --- sys/dev/usb/if_umb.c 27 Apr 2020 11:16:51 -0000 1.33 +++ sys/dev/usb/if_umb.c 27 Apr 2020 13:56:09 -0000 @@ -1937,6 +1937,10 @@ tryv6:; /* * IPv6 configuation */ + if ((sc->sc_flags & UMBFLG_NO_INET6) || + in6ifa_ifpforlinklocal(GET_IFP(sc), 0) == NULL) + goto done; + avail_v6 = letoh32(ic->ipv6_available); if (avail_v6 == 0) { if (ifp->if_flags & IFF_DEBUG)