aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2010-03-27 17:33:19 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2010-03-27 17:33:19 +0000
commit9bdad32791730b0289c515ea47a566b79ed01aec (patch)
tree700ecd90b77eb5d50cadcf57607595d45a94139f /sys
parent78ba8b295c29d51814968f65655d9ca782f7d27b (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 64135ac81e16..45f11f9d609c 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -842,7 +842,8 @@ if_detach_internal(struct ifnet *ifp, int vmove)
IFNET_WUNLOCK();
if (!found) {
if (vmove)
- panic("interface not in it's own ifnet list");
+ panic("%s: ifp=%p not on the ifnet tailq %p",
+ __func__, ifp, &V_ifnet);
else
return; /* XXX this should panic as well? */
}