diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-10-01 15:44:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-10-12 12:40:04 -0700 |
commit | 1611e307ab917e66fce335dd57f45aee266614ee (patch) | |
tree | 1bbe501d0ceb33f552b71f48cbfbfc8d12b3d3f0 /lib/parser.c | |
parent | 8adec3b28d288381d5e001dbb49b908c132b2909 (diff) | |
download | lwn-1611e307ab917e66fce335dd57f45aee266614ee.tar.gz lwn-1611e307ab917e66fce335dd57f45aee266614ee.zip |
x86: fix csum_ipv6_magic asm memory clobber
commit 392d814daf460a9564d29b2cebc51e1ea34e0504 upstream.
Just like ip_fast_csum, the assembly snippet in csum_ipv6_magic needs a
memory clobber, as it is only passed the address of the buffer, not a
memory reference to the buffer itself.
This caused failures in Hurd's pfinetv4 when we tried to compile it with
gcc-4.3 (bogus checksums).
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Acked-by: "David S. Miller" <davem@davemloft.net>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions