-
Jan Kiszka authored
The msg struct passed to the recvmsg handler for udp and packet sockets is not located in userspace. Therefore, we must not use rtnet_put_arg to update its content, it may fail on some archs, namely arm and arm64. Just assign, the syscall entry function will take care of copying it back. Fixes: 25a53f5c ("rtnet: udp: Remove duplicate copy_from/to_user") Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
1ee4f1a2