diff options
author | glebius <glebius@FreeBSD.org> | 2006-03-21 14:29:48 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2006-03-21 14:29:48 +0000 |
commit | aca7253de4a59d55274c156cecd37c9417107154 (patch) | |
tree | dfd6904f3d5a3132f478ea4e967cb3d3c2e0f6a3 /sys/netinet/ip_carp.h | |
parent | 53d6233f744cffc5f29606f3a746783c571f7766 (diff) | |
download | FreeBSD-src-aca7253de4a59d55274c156cecd37c9417107154.zip FreeBSD-src-aca7253de4a59d55274c156cecd37c9417107154.tar.gz |
o Introduce carp_multicast_cleanup(), which removes and frees
multicast addresses from carp interface. [1]
o Rewrite carpdetach(), so that it does the following things: [1]
- Stops callouts.
- Decrements carp_suppress_preempt, if needed.
- Downs interface and sets CARP state to INIT.
- Calls carp_multicast_cleanup().
- Detaches softc from carp_if and if we are the last frees
the carp_if.
o Use new carpdetach() in carp_clone_destroy().
o In carp_ifdetach() acquire the carp_if lock and cleanup all
interfaces hanging on carp_if. [1]
o Make carp_ifdetach() static and use EVENT(9) to call it
from if_detach(). [2]
o In carp_setrun() exit if the softc doesn't have a valid pointer
to parent. [1]
Obtained from: OpenBSD [1]
Submitted by: Dan Lukes <dan obluda.cz> [2]
PR: kern/82908 [2]
Diffstat (limited to 'sys/netinet/ip_carp.h')
-rw-r--r-- | sys/netinet/ip_carp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/ip_carp.h b/sys/netinet/ip_carp.h index a050a88..7151f52 100644 --- a/sys/netinet/ip_carp.h +++ b/sys/netinet/ip_carp.h @@ -148,7 +148,6 @@ struct carpreq { } #ifdef _KERNEL -void carp_ifdetach (struct ifnet *); void carp_carpdev_state(void *); void carp_input (struct mbuf *, int); int carp6_input (struct mbuf **, int *, int); |