net/sctp: use in_compat_syscall for sctp_getsockopt_connectx3
authorAndy Lutomirski <luto@kernel.org>
Tue, 22 Mar 2016 21:25:07 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2016 22:36:02 +0000 (15:36 -0700)
commit96c0e0a908ecfa61118d49db85c03e162b7f6e20
tree12cd5821c027e76f4422b589f546445298602db3
parent121cef8f17d80e97838ea2f88715417e675e4403
net/sctp: use in_compat_syscall for sctp_getsockopt_connectx3

SCTP unfortunately has a different ABI for SCTP_SOCKOPT_CONNECTX3 for
32-bit and 64-bit callers.  Use in_compat_syscall to correctly
distinguish them on all architectures.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Vlad Yasevich <vyasevich@gmail.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/sctp/socket.c