Index: if.c =================================================================== RCS file: /cvs/src/sys/net/if.c,v diff -u -p -r1.734 if.c --- if.c 9 May 2025 03:12:36 -0000 1.734 +++ if.c 13 Jun 2025 03:50:28 -0000 @@ -1202,8 +1202,10 @@ if_detach(struct ifnet *ifp) ifp->if_qstart = if_detached_qstart; /* Wait until the start routines finished. */ - ifq_barrier(&ifp->if_snd); - ifq_clr_oactive(&ifp->if_snd); + for (i = 0; i < ifp->if_nifqs; i++) { + ifq_barrier(ifp->if_ifqs[i]); + ifq_clr_oactive(ifp->if_ifqs[i]); + } #if NBPFILTER > 0 bpfdetach(ifp);