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

Reply via email to