Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm fix conditional; makes 0 len mbuf, 0 offset...



details:   https://anonhg.NetBSD.org/src/rev/16d0caed2855
branches:  trunk
changeset: 805572:16d0caed2855
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 06 16:24:58 2015 +0000

description:
fix conditional; makes 0 len mbuf, 0 offset, 0 len test work.

diffstat:

 sys/arch/arm/arm/cpu_in_cksum.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 47c8aee0d0af -r 16d0caed2855 sys/arch/arm/arm/cpu_in_cksum.S
--- a/sys/arch/arm/arm/cpu_in_cksum.S   Tue Jan 06 16:08:06 2015 +0000
+++ b/sys/arch/arm/arm/cpu_in_cksum.S   Tue Jan 06 16:24:58 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_in_cksum.S,v 1.8 2013/12/22 16:29:42 matt Exp $    */
+/*     $NetBSD: cpu_in_cksum.S,v 1.9 2015/01/06 16:24:58 christos Exp $        */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <machine/asm.h>
-RCSID("$NetBSD: cpu_in_cksum.S,v 1.8 2013/12/22 16:29:42 matt Exp $")
+RCSID("$NetBSD: cpu_in_cksum.S,v 1.9 2015/01/06 16:24:58 christos Exp $")
        
 #include "assym.h"
 
@@ -72,7 +72,7 @@
        ldr     ip, [ip, #(M_NEXT)]
 .Lin_cksum_skip_entry:
        subs    r2, r2, r1              /* offset = offset - mbuf length */
-       blt     .Lin_cksum_skip_done    /* if offset has gone negative start with this mbuf */
+       ble     .Lin_cksum_skip_done    /* if offset has gone negative start with this mbuf */
        cmp     ip, #0x00
        bne     .Lin_cksum_skip_loop
        b       .Lin_cksum_whoops



Home | Main Index | Thread Index | Old Index