diff options
| author | Warner Losh <imp@FreeBSD.org> | 2005-09-19 03:10:21 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2005-09-19 03:10:21 +0000 |
| commit | ad4f426ef63acf8f93962c281274c677a055e500 (patch) | |
| tree | c3358cebc77043ea8b2a3a5036b02dad6a674b7e /sys/dev/sn | |
| parent | 6763e7c1edc7198eca8ab7017018b03f5c41e012 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sn')
| -rw-r--r-- | sys/dev/sn/if_sn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c index b4dbd2e76397d..bb3fc5e71ca14 100644 --- a/sys/dev/sn/if_sn.c +++ b/sys/dev/sn/if_sn.c @@ -233,8 +233,8 @@ sn_detach(device_t dev) snstop(sc); ifp->if_drv_flags &= ~IFF_DRV_RUNNING; ether_ifdetach(ifp); - if_free(ifp); sn_deactivate(dev); + if_free(ifp); SN_LOCK_DESTROY(sc); return 0; } |
