Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/dev/ic Pull up following revision(s) (re...



details:   https://anonhg.NetBSD.org/src/rev/6ab5b18fd097
branches:  netbsd-6
changeset: 319034:6ab5b18fd097
user:      martin <martin%NetBSD.org@localhost>
date:      Mon May 14 16:07:06 2018 +0000
description:
Pull up following revision(s) (requested by pgoyette in ticket #1548):

        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 1c364097640a -r 6ab5b18fd097 sys/dev/ic/hme.c
--- a/sys/dev/ic/hme.c  Thu May 03 15:05:46 2018 +0000
+++ b/sys/dev/ic/hme.c  Mon May 14 16:07:06 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hme.c,v 1.87.2.1 2012/07/04 19:43:10 riz Exp $ */
+/*     $NetBSD: hme.c,v 1.87.2.2 2018/05/14 16:07:06 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.87.2.1 2012/07/04 19:43:10 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.87.2.2 2018/05/14 16:07:06 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