Skip to content

Commit 20a5078

Browse files
committed
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: 1dacc76 ("net/compat/wext: send different messages to compat tasks") Acked-by: Helge Deller <deller@gmx.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent d6fbd26 commit 20a5078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/parisc/kernel/syscalls/syscall.tbl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
95 common fchown sys_fchown
109109
96 common getpriority sys_getpriority
110110
97 common setpriority sys_setpriority
111-
98 common recv sys_recv
111+
98 common recv sys_recv compat_sys_recv
112112
99 common statfs sys_statfs compat_sys_statfs
113113
100 common fstatfs sys_fstatfs compat_sys_fstatfs
114114
101 common stat64 sys_stat64
@@ -135,7 +135,7 @@
135135
120 common clone sys_clone_wrapper
136136
121 common setdomainname sys_setdomainname
137137
122 common sendfile sys_sendfile compat_sys_sendfile
138-
123 common recvfrom sys_recvfrom
138+
123 common recvfrom sys_recvfrom compat_sys_recvfrom
139139
124 32 adjtimex sys_adjtimex_time32
140140
124 64 adjtimex sys_adjtimex
141141
125 common mprotect sys_mprotect

0 commit comments

Comments
 (0)