Skip to content

Commit

Permalink
MIPS: O32: Use compat_sys_getsockopt.
Browse files Browse the repository at this point in the history
We were using the native syscall and that results in subtle breakage.

This is the same issue as fixed in 077d0e6
(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
  • Loading branch information
Ralf Baechle committed Jul 10, 2015
1 parent 1e18ac7 commit 51d5367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/kernel/scall64-o32.S
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ EXPORT(sys32_call_table)
PTR sys_connect /* 4170 */
PTR sys_getpeername
PTR sys_getsockname
PTR sys_getsockopt
PTR compat_sys_getsockopt
PTR sys_listen
PTR compat_sys_recv /* 4175 */
PTR compat_sys_recvfrom
Expand Down

0 comments on commit 51d5367

Please sign in to comment.