aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-04-23 13:52:10 +0000
committerMichael Ellerman <[email protected]>2021-04-28 13:35:11 +0000
commit5256426247837feb8703625bda7fcfc824af04cf (patch)
tree24edfc37632a66281d30f9c427a6c89bb9c9f94a /net/switchdev/switchdev.c
parentpowerpc: Avoid clang uninitialized warning in __get_user_size_allowed (diff)
downloadkernel-5256426247837feb8703625bda7fcfc824af04cf.tar.gz
kernel-5256426247837feb8703625bda7fcfc824af04cf.zip
powerpc/signal32: Fix erroneous SIGSEGV on RT signal return
Return of user_read_access_begin() is tested the wrong way, leading to a SIGSEGV when the user address is valid and likely an Oops when the user address is bad. Fix the test. Fixes: 887f3ceb51cd ("powerpc/signal32: Convert do_setcontext[_tm]() to user access block") Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/a29aadc54c93bcbf069a83615fa102ca0f59c3ae.1619185912.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions