commit | cbf83cc5a29dba480cf1ba1c5e3417a0d4a31410 | [log] [tgz] |
---|---|---|
author | Rodolfo Giometti <giometti@linux.it> | Wed Nov 11 14:26:52 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Nov 12 07:26:00 2009 -0800 |
tree | eb7757638e0a8e5509066eebec053a7bffe0138a | |
parent | 69fd8d24673a8f4f8be5db7f84b5dc9e4ff354c8 [diff] |
pps: locking scheme fix up for PPS_GETPARAMS Userland programs may read/write PPS parameters at same time and these operations may corrupt PPS data. Signed-off-by: Rodolfo Giometti <giometti@linux.it> Tested-by: Reg Clemens <clemens@dwf.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>