Date: Sat, 8 Jan 2011 21:02:27 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r217166 - stable/8/sys/net Message-ID: <201101082102.p08L2Rh7006416@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Sat Jan 8 21:02:27 2011 New Revision: 217166 URL: http://svn.freebsd.org/changeset/base/217166 Log: MFC r216856: Print the vnet pointer under DDB when iterating over flowtables of each virtual network stack instance. Modified: stable/8/sys/net/flowtable.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/net/flowtable.c ============================================================================== --- stable/8/sys/net/flowtable.c Sat Jan 8 20:25:13 2011 (r217165) +++ stable/8/sys/net/flowtable.c Sat Jan 8 21:02:27 2011 (r217166) @@ -1816,6 +1816,9 @@ DB_SHOW_COMMAND(flowtables, db_show_flow VNET_FOREACH(vnet_iter) { CURVNET_SET(vnet_iter); +#ifdef VIMAGE + db_printf("vnet %p\n", vnet_iter); +#endif flowtable_show_vnet(); CURVNET_RESTORE(); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101082102.p08L2Rh7006416>