From: Sorin Dumitru Date: Fri, 20 Jun 2014 11:23:35 +0000 (+0300) Subject: MIPS: N32: Use compat getsockopt syscall X-Git-Tag: omap-for-v3.17/fixes-against-rc2~135^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=077d0e65618f27b2199d622e12ada6d8f3dbd862;p=pandora-kernel.git 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 Reviewed-by: James Hogan 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 --- Reading git-diff-tree failed