diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-04-23 11:51:53 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-04-23 11:51:53 +0000 |
commit | ccc05d4c7fc358ca3cc8339274b58835f1ba153b (patch) | |
tree | 00a3b8317138c3f76378e3a6003faf4f48043892 /sys/conf | |
parent | bf5b2167ac0cacf1ff816efc0f73ed8e20386341 (diff) | |
download | FreeBSD-src-ccc05d4c7fc358ca3cc8339274b58835f1ba153b.zip FreeBSD-src-ccc05d4c7fc358ca3cc8339274b58835f1ba153b.tar.gz |
During if_detach(), invoke if_dead() to set the ifnet's function
pointers to "dead" implementations that no-op rather than invoking
the device driver. This would generally be unexpected and
possibly quite badly handled by most device drivers after
if_detach() has completed.
Reviewed by: bms
MFC after: 3 weeks
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 0a997b3..68282c7 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -2152,6 +2152,7 @@ net/if_arcsubr.c optional arcnet net/if_atmsubr.c optional atm net/if_bridge.c optional bridge | if_bridge net/if_clone.c standard +net/if_dead.c standard net/if_disc.c optional disc net/if_edsc.c optional edsc net/if_ef.c optional ef |