summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-02-24 21:14:13 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-02-24 21:14:13 +0000
commitce5c115dd6f6a47390ca199b09910bb4dc5f35c5 (patch)
tree2d166e30864491e798ae85fb38e37fbebe56fcaa /sys
parent3a222b827ce3693e6f7bb8634f9e26a8b9215fc4 (diff)
Disable rt_if_track() for now. This causes the rtfree panic seen in PR6043
and I'm currently unable to find the cause of this. Time is running out so workaround it for now. OK deraadt.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 0e225c5e01d..3fc02fc5a0f 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.187 2009/01/31 21:23:34 grange Exp $ */
+/* $OpenBSD: if.c,v 1.188 2009/02/24 21:14:12 claudio Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -1088,9 +1088,11 @@ if_down(struct ifnet *ifp)
bstp_ifstate(ifp);
#endif
rt_ifmsg(ifp);
+#if 0
#ifndef SMALL_KERNEL
rt_if_track(ifp);
#endif
+#endif
}
/*
@@ -1128,9 +1130,11 @@ if_up(struct ifnet *ifp)
in6_if_up(ifp);
#endif
+#if 0
#ifndef SMALL_KERNEL
rt_if_track(ifp);
#endif
+#endif
m_clinitifp(ifp);
}
@@ -1143,9 +1147,11 @@ void
if_link_state_change(struct ifnet *ifp)
{
rt_ifmsg(ifp);
+#if 0
#ifndef SMALL_KERNEL
rt_if_track(ifp);
#endif
+#endif
dohooks(ifp->if_linkstatehooks, 0);
}