[ARM] 3292/1: Fix memory corruption in asm-arm/checksum.h: ip_fast_csum()
authorRichard Purdie <rpurdie@rpsys.net>
Wed, 1 Feb 2006 19:26:00 +0000 (19:26 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 1 Feb 2006 19:26:00 +0000 (19:26 +0000)
commit62500d1f8eadff078cca462dc4df035a29180383
tree774ad280d77841292b0fb7bd1fe6f99251aa38c2
parentafe5df208e6ecd09b7d1acf36eb2cf945842bee5
[ARM] 3292/1: Fix memory corruption in asm-arm/checksum.h: ip_fast_csum()

Patch from Richard Purdie

ip_fast_csum() accesses memory via a pointer (iph) within an
asm function. To prevent memory corruption when the function is
inlined, it needs "memory" on the clobber list.

This fixes ip checksum errors reported by a Zaurus user.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/checksum.h