Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

parisc: use correct compat recv/recvfrom syscalls

Johannes missed parisc back when he introduced the compat version
of these syscalls, so receiving cmsg messages that require a compat
conversion is still broken.

Use the correct calls like the other architectures do.

Fixes: 1dacc76d0014 ("net/compat/wext: send different messages to compat tasks")
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+2 -2
+2 -2
arch/parisc/kernel/syscalls/syscall.tbl
··· 108 108 95 common fchown sys_fchown 109 109 96 common getpriority sys_getpriority 110 110 97 common setpriority sys_setpriority 111 - 98 common recv sys_recv 111 + 98 common recv sys_recv compat_sys_recv 112 112 99 common statfs sys_statfs compat_sys_statfs 113 113 100 common fstatfs sys_fstatfs compat_sys_fstatfs 114 114 101 common stat64 sys_stat64 ··· 135 135 120 common clone sys_clone_wrapper 136 136 121 common setdomainname sys_setdomainname 137 137 122 common sendfile sys_sendfile compat_sys_sendfile 138 - 123 common recvfrom sys_recvfrom 138 + 123 common recvfrom sys_recvfrom compat_sys_recvfrom 139 139 124 32 adjtimex sys_adjtimex_time32 140 140 124 64 adjtimex sys_adjtimex 141 141 125 common mprotect sys_mprotect