aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-07-09 12:02:51 -0400
committerRalf Baechle <ralf@linux-mips.org>2015-07-10 05:02:22 -0400
commit51d53674c3fff11e9231e66ca8616c65deadfb6c (patch)
treeb16eea1718022eab6047ef880c8e4ea9cf83b717
parent1e18ac7aeaec357048172695b1fbb461205b166f (diff)
MIPS: O32: Use compat_sys_getsockopt.
We were using the native syscall and that results in subtle breakage. This is the same issue as fixed in 077d0e65618f27b2199d622e12ada6d8f3dbd862 (MIPS: N32: Use compat getsockopt syscall) but that commit did fix it only for N32. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Link: https://bugzilla.kernel.org/show_bug.cgi?id=100291
-rw-r--r--arch/mips/kernel/scall64-o32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
index 66d618bb2fa2..f543ff4feef9 100644
--- a/arch/mips/kernel/scall64-o32.S
+++ b/arch/mips/kernel/scall64-o32.S
@@ -400,7 +400,7 @@ EXPORT(sys32_call_table)
400 PTR sys_connect /* 4170 */ 400 PTR sys_connect /* 4170 */
401 PTR sys_getpeername 401 PTR sys_getpeername
402 PTR sys_getsockname 402 PTR sys_getsockname
403 PTR sys_getsockopt 403 PTR compat_sys_getsockopt
404 PTR sys_listen 404 PTR sys_listen
405 PTR compat_sys_recv /* 4175 */ 405 PTR compat_sys_recv /* 4175 */
406 PTR compat_sys_recvfrom 406 PTR compat_sys_recvfrom