rtnet: tcp: Remove duplicate copy_from/to_user
The RTNET sendmsg/recvmsg protocol handlers used to call copy_to/from_user on the struct user_msghdr argument. The syscall entry code already does this copy, so calling again the copy_to/from_user in handlers triggers SPECTRE mitigation protection on ARM. This patch removes the calls in the handlers. This patch has not been tested Signed-off-by: François LEGAL <devel@thom.fr.eu.org> [Jan: massage commit log] Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
Build | |||||||||
passed |
#199297
|
arm-4.14-release |
00:25:27
|
|
|||||
passed |
#199296
|
arm-4.19-release |
00:49:39
|
|
|||||
passed |
#199298
|
arm-4.4-cip-head |
00:35:03
|
|
|||||
passed |
#199300
|
arm64-4.14-release |
00:36:26
|
|
|||||
passed |
#199299
|
arm64-4.19-release |
00:41:11
|
|
|||||
passed |
#199307
|
powerpc-4.19-release |
00:15:36
|
|
|||||
passed |
#199304
|
x86-4.14-release |
00:18:52
|
|
|||||
passed |
#199302
|
x86-4.19-cip-head |
00:40:32
|
|
|||||
passed |
#199303
|
x86-4.19-cip-release |
00:30:41
|
|
|||||
passed |
#199305
|
x86-4.4-cip-head |
00:47:05
|
|
|||||
passed |
#199306
|
x86-4.4-cip-release |
00:17:38
|
|
|||||
passed |
#199301
|
x86-5.4-head |
00:20:49
|
|
|||||