Also include the mbuf's csum_flags in an assert message

This commit is contained in:
Bryan Venteicher
2014-01-25 07:35:09 +00:00
parent 1dbb21dcc9
commit 9471658415
+2 -1
View File
@@ -2027,7 +2027,8 @@ vtnet_txq_offload(struct vtnet_txq *txq, struct mbuf *m,
}
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)