Lines 609-616
epair_qflush(struct ifnet *ifp)
Link Here
|
609 |
struct epair_softc *sc; |
609 |
struct epair_softc *sc; |
610 |
|
610 |
|
611 |
sc = ifp->if_softc; |
611 |
sc = ifp->if_softc; |
612 |
KASSERT(sc != NULL, ("%s: ifp=%p, epair_softc gone? sc=%p\n", |
612 |
|
613 |
__func__, ifp, sc)); |
613 |
/* |
|
|
614 |
* See epair_clone_destroy(), we can end up getting called twice. |
615 |
* Don't do anything on the second call. |
616 |
*/ |
617 |
if (sc == NULL) |
618 |
return; |
619 |
|
614 |
/* |
620 |
/* |
615 |
* Remove this ifp from all backpointer lists. The interface will not |
621 |
* Remove this ifp from all backpointer lists. The interface will not |
616 |
* usable for flushing anyway nor should it have anything to flush |
622 |
* usable for flushing anyway nor should it have anything to flush |