Commit 077d0e65 authored by Sorin Dumitru's avatar Sorin Dumitru Committed by Ralf Baechle

MIPS: N32: Use compat getsockopt syscall

The IP_PKTOPTIONS sockopt puts control messages in option_values, these
need to be handled differently in the compat case. This is already done
through the MSG_CMSG_COMPAT flag, we just need to use
compat_sys_getsockopt which sets that flag.
Signed-off-by: default avatarSorin Dumitru <sdumitru@ixiacom.com>
Reviewed-by: default avatarJames Hogan <james.hogan@imgtec.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7115/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 0435b13e
...@@ -162,7 +162,7 @@ EXPORT(sysn32_call_table) ...@@ -162,7 +162,7 @@ EXPORT(sysn32_call_table)
PTR sys_getpeername PTR sys_getpeername
PTR sys_socketpair PTR sys_socketpair
PTR compat_sys_setsockopt PTR compat_sys_setsockopt
PTR sys_getsockopt PTR compat_sys_getsockopt
PTR __sys_clone /* 6055 */ PTR __sys_clone /* 6055 */
PTR __sys_fork PTR __sys_fork
PTR compat_sys_execve PTR compat_sys_execve
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment