[PATCH] x86_64: fix bug in csum_partial_copy_generic()
authorDave Peterson <dsp@llnl.gov>
Sat, 30 Jul 2005 05:59:20 +0000 (22:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 30 Jul 2005 17:14:47 +0000 (10:14 -0700)
commit92ed0223aefa795d1873427e25599cb70b2148ee
tree1ecb618129bba703034bbb03223acbb977d55761
parent5ce17b18e16177dd6409dabd38df5c2c9b58fc2d
[PATCH] x86_64: fix bug in csum_partial_copy_generic()

I was observing reproducible crashes on the "movw %bx,(%rsi)" instruction
below while a process in a recvfrom() system call was copying packet data
to user space.  The patch below fixes the exception table and causes the
crash to no longer reproduce.  Please apply.

Acked-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/lib/csum-copy.S