Date: Wed, 20 Apr 2016 21:04:39 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298373 - head/sys/net Message-ID: <201604202104.u3KL4dZi087551@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Wed Apr 20 21:04:39 2016 New Revision: 298373 URL: https://svnweb.freebsd.org/changeset/base/298373 Log: 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 Modified: head/sys/net/if_debug.c Modified: head/sys/net/if_debug.c ============================================================================== --- head/sys/net/if_debug.c Wed Apr 20 20:58:30 2016 (r298372) +++ head/sys/net/if_debug.c Wed Apr 20 21:04:39 2016 (r298373) @@ -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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604202104.u3KL4dZi087551>