Author: bryanv
Date: Sat Jan 25 07:35:09 2014
New Revision: 261151
URL: http://svnweb.freebsd.org/changeset/base/261151

Log:
  Also include the mbuf's csum_flags in an assert message

Modified:
  head/sys/dev/virtio/network/if_vtnet.c

Modified: head/sys/dev/virtio/network/if_vtnet.c
==============================================================================
--- head/sys/dev/virtio/network/if_vtnet.c      Sat Jan 25 07:13:47 2014        
(r261150)
+++ head/sys/dev/virtio/network/if_vtnet.c      Sat Jan 25 07:35:09 2014        
(r261151)
@@ -2027,7 +2027,8 @@ vtnet_txq_offload(struct vtnet_txq *txq,
                }
 
                KASSERT(hdr->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM,
-                   ("%s: mbuf %p TSO without checksum offload", __func__, m));
+                   ("%s: mbuf %p TSO without checksum offload %#x",
+                   __func__, m, flags));
 
                error = vtnet_txq_offload_tso(txq, m, etype, csum_start, hdr);
                if (error)
_______________________________________________
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