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();
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to