Clear r3 to zero after dealing with the pseudo-header.
This commit is contained in:
parent
2f54b52eac
commit
cd75387049
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: in_cksum.S,v 1.3 2002/10/22 12:22:43 scw Exp $ */
|
||||
/* $NetBSD: in_cksum.S,v 1.4 2003/11/09 12:24:48 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
|
@ -316,6 +316,7 @@ ENTRY(in4_cksum)
|
|||
ldhi.q r4, IP_SRC+7, r20 /* contiguous in memory */
|
||||
or r19, r20, r19
|
||||
ADDC (r19, r2, r2) /* sum += ip->ip_{src,dst} */
|
||||
movi 0, r3
|
||||
#endif /* INET */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue