FreeBSD Bugzilla – Attachment 177414 Details for
Bug 213410
[carp] service netif restart causes hang only when carp is enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Change assert into check
213410.patch (text/plain), 431 bytes, created by
Kristof Provost
on 2016-11-26 14:15:15 UTC
(
hide
)
Description:
Change assert into check
Filename:
MIME Type:
Creator:
Kristof Provost
Created:
2016-11-26 14:15:15 UTC
Size:
431 bytes
patch
obsolete
>diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c >index 7855af2..ea27f0a 100644 >--- a/sys/netinet/ip_carp.c >+++ b/sys/netinet/ip_carp.c >@@ -1804,7 +1804,8 @@ carp_attach(struct ifaddr *ifa, int vhid) > struct carp_softc *sc; > int index, error; > >- KASSERT(ifa->ifa_carp == NULL, ("%s: ifa %p attached", __func__, ifa)); >+ if (ifa->ifa_carp != NULL) >+ return (EBUSY); > > switch (ifa->ifa_addr->sa_family) { > #ifdef INET
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213410
:
175654
| 177414