summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/xen/io/xnb.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/xen/io/xnb.c')
-rw-r--r--usr/src/uts/common/xen/io/xnb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/uts/common/xen/io/xnb.c b/usr/src/uts/common/xen/io/xnb.c
index c21476df89..761597653b 100644
--- a/usr/src/uts/common/xen/io/xnb.c
+++ b/usr/src/uts/common/xen/io/xnb.c
@@ -22,7 +22,6 @@
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
- * Copyright 2018 Joyent, Inc.
*/
#ifdef DEBUG
@@ -252,8 +251,8 @@ xnb_software_csum(xnb_t *xnbp, mblk_t *mp)
* because it doesn't cover all of the interesting cases :-(
*/
mac_hcksum_set(mp, 0, 0, 0, 0, HCK_FULLCKSUM);
- mac_hw_emul(&mp, NULL, NULL, MAC_HWCKSUM_EMUL);
- return (mp);
+
+ return (mac_fix_cksum(mp));
}
mblk_t *