Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Fix ip[46]csum-tx doesn't work other than ...
details: https://anonhg.NetBSD.org/src/rev/40821f3ec81e
branches: trunk
changeset: 819692:40821f3ec81e
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Dec 14 10:46:12 2016 +0000
description:
Fix ip[46]csum-tx doesn't work other than TCP and UDP.
diffstat:
sys/dev/pci/ixgbe/ix_txrx.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 7602cb767476 -r 40821f3ec81e sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c Wed Dec 14 07:37:26 2016 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c Wed Dec 14 10:46:12 2016 +0000
@@ -59,7 +59,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/*$FreeBSD: head/sys/dev/ixgbe/ix_txrx.c 301538 2016-06-07 04:51:50Z sephe $*/
-/*$NetBSD: ix_txrx.c,v 1.10 2016/12/05 08:50:29 msaitoh Exp $*/
+/*$NetBSD: ix_txrx.c,v 1.11 2016/12/14 10:46:12 msaitoh Exp $*/
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -840,6 +840,7 @@
break;
#endif
default:
+ offload = false;
break;
}
@@ -863,6 +864,9 @@
else
offload = false;
break;
+ default:
+ offload = false;
+ break;
}
if (offload) /* Insert L4 checksum into data descriptors */
Home |
Main Index |
Thread Index |
Old Index