summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2016-04-20 21:04:39 +0000
committerbz <bz@FreeBSD.org>2016-04-20 21:04:39 +0000
commitd0fd815b7245d88f2ca2880bc2c6b3ebc593ebfd (patch)
tree1cfa7355cbf467bab4a05a3997184b665832177d /sys/net
parentdb2ee748147ffb07c418c29663089087c1ac57d3 (diff)
downloadFreeBSD-src-d0fd815b7245d88f2ca2880bc2c6b3ebc593ebfd.zip
FreeBSD-src-d0fd815b7245d88f2ca2880bc2c6b3ebc593ebfd.tar.gz
Add more fields from struct ifnet needed during debugging a kernel panic.
Move if_fib into the right place. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_debug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_debug.c b/sys/net/if_debug.c
index fbcc2b0..ad3b575 100644
--- a/sys/net/if_debug.c
+++ b/sys/net/if_debug.c
@@ -65,6 +65,9 @@ if_show_ifnet(struct ifnet *ifp)
IF_DB_PRINTF("%d", if_index_reserved);
IF_DB_PRINTF("%p", if_softc);
IF_DB_PRINTF("%p", if_l2com);
+ IF_DB_PRINTF("%p", if_afdata);
+ IF_DB_PRINTF("%d", if_afdata_initialized);
+ IF_DB_PRINTF("%u", if_fib);
IF_DB_PRINTF("%p", if_vnet);
IF_DB_PRINTF("%p", if_home_vnet);
IF_DB_PRINTF("%p", if_vlantrunk);
@@ -87,7 +90,6 @@ if_show_ifnet(struct ifnet *ifp)
IF_DB_PRINTF("%d", if_snd.ifq_drv_maxlen);
IF_DB_PRINTF("%d", if_snd.altq_type);
IF_DB_PRINTF("%x", if_snd.altq_flags);
- IF_DB_PRINTF("%u", if_fib);
#undef IF_DB_PRINTF
}
OpenPOWER on IntegriCloud