summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-04-23 11:51:53 +0000
committerrwatson <rwatson@FreeBSD.org>2009-04-23 11:51:53 +0000
commitccc05d4c7fc358ca3cc8339274b58835f1ba153b (patch)
tree00a3b8317138c3f76378e3a6003faf4f48043892 /sys/conf
parentbf5b2167ac0cacf1ff816efc0f73ed8e20386341 (diff)
downloadFreeBSD-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/files1
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
OpenPOWER on IntegriCloud