Date: Fri, 31 Dec 2010 21:20:32 +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: r216856 - head/sys/net Message-ID: <201012312120.oBVLKWbM089012@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Fri Dec 31 21:20:32 2010 New Revision: 216856 URL: http://svn.freebsd.org/changeset/base/216856 Log: Print the vnet pointer under DDB when iterating over flowtables of each virtual network stack instance. Sponsored by: ISPsystem [1] Reviewed by: julian [1] MFC after: 1 week [1] Early 2010. Modified: head/sys/net/flowtable.c Modified: head/sys/net/flowtable.c ============================================================================== --- head/sys/net/flowtable.c Fri Dec 31 21:06:52 2010 (r216855) +++ head/sys/net/flowtable.c Fri Dec 31 21:20:32 2010 (r216856) @@ -1809,6 +1809,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?201012312120.oBVLKWbM089012>