while here turn ENETRESET into 0 in the ioctl path. there's no
hardware to reset.
-/* $OpenBSD: if_vxlan.c,v 1.87 2022/02/18 01:27:39 dlg Exp $ */
+/* $OpenBSD: if_vxlan.c,v 1.88 2022/02/18 03:22:27 dlg Exp $ */
/*
* Copyright (c) 2021 David Gwynne <dlg@openbsd.org>
error = vxlan_del_addr(sc, (struct ifbareq *)data);
break;
+ case SIOCADDMULTI:
+ case SIOCDELMULTI:
+ /* no hardware to program */
+ break;
+
default:
error = ether_ioctl(ifp, &sc->sc_ac, cmd, data);
break;
}
+ if (error == ENETRESET) {
+ /* no hardware to program */
+ error = 0;
+ }
+
return (error);
}