| From | Ben Hutchings <> | Date | Mon, 28 Apr 2014 02:11:22 +0100 | Subject | [PATCH 3.2 94/94] Revert "alpha: fix broken network checksum" |
| |
3.2.58-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Ben Hutchings <ben@decadent.org.uk>
This reverts commit b93b90ff7c50288d602108ae1a09673df3f799a8, which was commit 0ef38d70d4118b2ce1a538d14357be5ff9dc2bbd upstream. It was intended to fix a regression which never occurred in 3.2.
--- a/arch/alpha/lib/csum_partial_copy.c +++ b/arch/alpha/lib/csum_partial_copy.c @@ -373,11 +373,6 @@ __wsum csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) { - __wsum checksum; - mm_segment_t oldfs = get_fs(); - set_fs(KERNEL_DS); - checksum = csum_partial_copy_from_user((__force const void __user *)src, - dst, len, sum, NULL); - set_fs(oldfs); - return checksum; + return csum_partial_copy_from_user((__force const void __user *)src, + dst, len, sum, NULL); }
|