supported interface.
pointed out by bluhm@
OK bluhm@
-/* $OpenBSD: if.c,v 1.655 2022/06/28 08:01:40 mvs Exp $ */
+/* $OpenBSD: if.c,v 1.656 2022/06/28 09:41:24 jan Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
}
splx(s);
+ } else if (!ISSET(ifp->if_capabilities, IFCAP_TSO) &&
+ ISSET(ifr->ifr_flags, IFXF_TSO)) {
+ ifr->ifr_flags &= ~IFXF_TSO;
+ error = ENOTSUP;
}
#endif