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
This commit is contained in:
Bjoern A. Zeeb 2016-04-20 21:04:39 +00:00
parent 508c21b669
commit 29bda43fa4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298373

View File

@ -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
}