diff options
author | Bob Breuer <breuerr@mc.net> | 2007-02-14 09:22:53 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-02-14 09:22:53 +0100 |
commit | 4ff61ecf6949e0ab2c062b40e0111f39e3956a0d (patch) | |
tree | 5f36ea536e4bc844eef73bb76b8aecec14845e28 /net/packet/af_packet.c | |
parent | 50c6a34d4daa3a3867128df6f5734fd385b63feb (diff) |
SPARC32: Fix over-optimization by GCC near ip_fast_csum.
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>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'net/packet/af_packet.c')
0 files changed, 0 insertions, 0 deletions