diff options
author | bz <bz@FreeBSD.org> | 2010-09-02 16:11:12 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2010-09-02 16:11:12 +0000 |
commit | 06977c291c8b9ce86535bf7e7a3fd902d3f59c92 (patch) | |
tree | 16fb077ad4d73f4b9f25ab780c429cee913dcb36 /sys/net/if_epair.c | |
parent | bd7a5fec57f574765f98524dc7415bd2b24bd790 (diff) | |
download | FreeBSD-src-06977c291c8b9ce86535bf7e7a3fd902d3f59c92.zip FreeBSD-src-06977c291c8b9ce86535bf7e7a3fd902d3f59c92.tar.gz |
MFp4 CH=183259:
No reason to use if_free_type() as we don't change our type.
Just if_free() is fine.
MFC after: 3 days
Diffstat (limited to 'sys/net/if_epair.c')
-rw-r--r-- | sys/net/if_epair.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_epair.c b/sys/net/if_epair.c index ac0c801..2f62330 100644 --- a/sys/net/if_epair.c +++ b/sys/net/if_epair.c @@ -892,9 +892,9 @@ epair_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) * we need to switch before freeing them. */ CURVNET_SET_QUIET(oifp->if_vnet); - if_free_type(oifp, IFT_ETHER); + if_free(oifp); CURVNET_RESTORE(); - if_free_type(ifp, IFT_ETHER); + if_free(ifp); free(scb, M_EPAIR); free(sca, M_EPAIR); ifc_free_unit(ifc, unit); |