svn commit: r217166 - stable/8/sys/net

Bjoern A. Zeeb bz at FreeBSD.org
Sat Jan 8 21:02:27 UTC 2011


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();
 	}


More information about the svn-src-stable-8 mailing list