git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e34efe3
)
[SPARC32]: Fix over-optimization by GCC near ip_fast_csum.
author
Bob Breuer
<breuerr@mc.net>
Fri, 2 Feb 2007 04:24:35 +0000
(20:24 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 2 Feb 2007 04:24:35 +0000
(20:24 -0800)
In some cases such as:
iph->check = 0;
iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl);
GCC may optimize out the previous store.
Observed as a failure of NFS over udp (bad checksums on ip fragments)
when compiled with GCC 3.4.2.
Signed-off-by: Bob Breuer <breuerr@mc.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found