Module Name:    src
Committed By:   snj
Date:           Fri May  1 01:52:56 UTC 2009

Modified Files:
        src/sys/dev/ic [netbsd-5]: hme.c

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #595):
        sys/dev/ic/hme.c: revision 1.69
Add an `else' missed in rev 1.49 otherwise RX hardware checksum on hme(4)
is not activated at all. Ok'ed by christos@, tested on macppc.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.66.10.1 src/sys/dev/ic/hme.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/hme.c
diff -u src/sys/dev/ic/hme.c:1.66 src/sys/dev/ic/hme.c:1.66.10.1
--- src/sys/dev/ic/hme.c:1.66	Sun May  4 17:06:09 2008
+++ src/sys/dev/ic/hme.c	Fri May  1 01:52:56 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: hme.c,v 1.66 2008/05/04 17:06:09 xtraeme Exp $	*/
+/*	$NetBSD: hme.c,v 1.66.10.1 2009/05/01 01:52:56 snj Exp $	*/
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.66 2008/05/04 17:06:09 xtraeme Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.66.10.1 2009/05/01 01:52:56 snj Exp $");
 
 /* #define HMEDEBUG */
 
@@ -836,7 +836,7 @@
 		}
 
 		m0->m_pkthdr.csum_flags |= M_CSUM_DATA | M_CSUM_NO_PSEUDOHDR;
-	}
+	} else
 swcsum:
 		m0->m_pkthdr.csum_flags = 0;
 #endif

Reply via email to