summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-03-21 14:31:18 +0000
committerglebius <glebius@FreeBSD.org>2006-03-21 14:31:18 +0000
commit92efa6907d7c3f35f6af1a8fd2406fa446728f8e (patch)
tree304d4696b2caa224471304b2460a79b6741cc503 /sys
parentaca7253de4a59d55274c156cecd37c9417107154 (diff)
downloadFreeBSD-src-92efa6907d7c3f35f6af1a8fd2406fa446728f8e.zip
FreeBSD-src-92efa6907d7c3f35f6af1a8fd2406fa446728f8e.tar.gz
No direct call to carp_ifdetach() anymore. It is called by
event handler. PR: kern/82908 Submitted by: Dan Lukes <dan obluda.cz>
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index e1811a3..03b21ca 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -623,12 +623,6 @@ if_detach(struct ifnet *ifp)
*/
taskqueue_drain(taskqueue_swi, &ifp->if_linktask);
-#ifdef DEV_CARP
- /* Maybe hook to the generalized departure handler above?!? */
- if (ifp->if_carp)
- carp_ifdetach(ifp);
-#endif
-
/*
* Remove routes and flush queues.
*/
OpenPOWER on IntegriCloud