git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: fix csum_ipv6_magic asm memory clobber
[safe/jmp/linux-2.6]
/
arch
/
x86
/
include
/
asm
/
checksum_32.h
diff --git
a/arch/x86/include/asm/checksum_32.h
b/arch/x86/include/asm/checksum_32.h
index
7c5ef8b
..
46fc474
100644
(file)
--- a/
arch/x86/include/asm/checksum_32.h
+++ b/
arch/x86/include/asm/checksum_32.h
@@
-161,7
+161,8
@@
static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
"adcl $0, %0 ;\n"
: "=&r" (sum)
: "r" (saddr), "r" (daddr),
- "r" (htonl(len)), "r" (htonl(proto)), "0" (sum));
+ "r" (htonl(len)), "r" (htonl(proto)), "0" (sum)
+ : "memory");
return csum_fold(sum);
}