Title: [5816] trunk/arch/blackfin/include/asm/checksum.h: Michael says that bugs [#4596], [#4618], [#4623], and [#4593] are crashes
- Revision
- 5816
- Author
- bernds
- Date
- 2008-12-04 08:33:27 -0600 (Thu, 04 Dec 2008)
Log Message
Michael says that bugs [#4596], [#4618], [#4623], and [#4593] are crashes
in tcp_v4_send_reset. There's a missing clobber of "CC" in our checksum
assembly statement; fixing this makes the generated code look much saner.
However, I did not test.
History for this file was apparently lost in the move from
include/asm-blackfin to arch/blackfin/asm; this could have been prevented
with svn.
Modified Paths
Diff
Modified: trunk/arch/blackfin/include/asm/checksum.h (5815 => 5816)
--- trunk/arch/blackfin/include/asm/checksum.h 2008-12-04 12:05:32 UTC (rev 5815)
+++ trunk/arch/blackfin/include/asm/checksum.h 2008-12-04 14:33:27 UTC (rev 5816)
@@ -78,7 +78,8 @@
"%0 = %0 + %4;\n\t"
"NOP;\n\t"
: "=d" (sum)
- : "d" (daddr), "d" (saddr), "d" ((ntohs(len)<<16)+proto*256), "d" (1), "0"(sum));
+ : "d" (daddr), "d" (saddr), "d" ((ntohs(len)<<16)+proto*256), "d" (1), "0"(sum)
+ : "CC");
return (sum);
}
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits