svn commit: r261151 - head/sys/dev/virtio/network

Bryan Venteicher bryanv at FreeBSD.org
Sat Jan 25 07:35:09 UTC 2014


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)


More information about the svn-src-all mailing list