Skip to content

Commit

Permalink
Revert "alpha: fix broken network checksum"
Browse files Browse the repository at this point in the history
This reverts commit b93b90f, which
was commit 0ef38d7 upstream.
It was intended to fix a regression which never occurred in 3.2.
  • Loading branch information
Ben Hutchings committed Apr 30, 2014
1 parent 3d793c4 commit 5311955
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions arch/alpha/lib/csum_partial_copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,6 @@ csum_partial_copy_from_user(const void __user *src, void *dst, int len,
__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);
}

0 comments on commit 5311955

Please sign in to comment.