MIPS: N32: Use compat getsockopt syscall
authorSorin Dumitru <sdumitru@ixiacom.com>
Fri, 20 Jun 2014 11:23:35 +0000 (14:23 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Aug 2014 15:32:23 +0000 (17:32 +0200)
commit077d0e65618f27b2199d622e12ada6d8f3dbd862
tree35d94e1b73bc76ffc12346e8e1cfd0ba0dc1d0cf
parent0435b13ee3732c1dda5312025f49073d01d8d15d
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: Sorin Dumitru <sdumitru@ixiacom.com>
Reviewed-by: James 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: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/scall64-n32.S