Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/dev/ic Pull up following revision(s) (re...
details: https://anonhg.NetBSD.org/src/rev/379a9b75ce51
branches: netbsd-7
changeset: 319036:379a9b75ce51
user: martin <martin%NetBSD.org@localhost>
date: Mon May 14 16:11:09 2018 +0000
description:
Pull up following revision(s) (requested by pgoyette in ticket #1604):
sys/dev/ic/hme.c: revision 1.97
Fix mis-placed right paren. kern/53271
diffstat:
sys/dev/ic/hme.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c156736a27af -r 379a9b75ce51 sys/dev/ic/hme.c
--- a/sys/dev/ic/hme.c Sun May 06 09:54:18 2018 +0000
+++ b/sys/dev/ic/hme.c Mon May 14 16:11:09 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hme.c,v 1.90 2014/08/10 16:44:35 tls Exp $ */
+/* $NetBSD: hme.c,v 1.90.2.1 2018/05/14 16:11:09 martin Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.90 2014/08/10 16:44:35 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.90.2.1 2018/05/14 16:11:09 martin Exp $");
/* #define HMEDEBUG */
@@ -752,7 +752,7 @@
pktlen = m0->m_pkthdr.len - ETHER_HDR_LEN;
} else if (ntohs(eh->ether_type) == ETHERTYPE_VLAN) {
evh = (struct ether_vlan_header *)eh;
- if (ntohs(evh->evl_proto != ETHERTYPE_IP))
+ if (ntohs(evh->evl_proto) != ETHERTYPE_IP)
goto swcsum;
ip = (struct ip *)((char *)eh + ETHER_HDR_LEN +
ETHER_VLAN_ENCAP_LEN);
Home |
Main Index |
Thread Index |
Old Index