Skip to content
Commit eaec2b0b authored by Zhiqiang Liu's avatar Zhiqiang Liu Committed by Christian Brauner
Browse files

signal: check sig before setting info in kill_pid_usb_asyncio



In kill_pid_usb_asyncio, if signal is not valid, we do not need to
set info struct.

Signed-off-by: default avatarZhiqiang Liu <liuzhiqiang26@huawei.com>
Acked-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/f525fd08-1cf7-fb09-d20c-4359145eb940@huawei.com


Signed-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 8f3d9f35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment