diff options
author | 2020-06-19 13:20:07 +0800 | |
---|---|---|
committer | 2020-10-11 23:13:00 +0200 | |
commit | e4e721fe4ccb504a29d1e8d4047667557281d932 (patch) | |
tree | 03994364bba5ba1a558716916c1b1940a3136588 /drivers/usb/cdns3/cdns3-debug.h | |
parent | um: Fix null pointer dereference in vector_user_bpf (diff) | |
download | wireguard-linux-e4e721fe4ccb504a29d1e8d4047667557281d932.tar.xz wireguard-linux-e4e721fe4ccb504a29d1e8d4047667557281d932.zip |
um: vector: Use GFP_ATOMIC under spin lock
Use GFP_ATOMIC instead of GFP_KERNEL under spin lock to fix possible
sleep-in-atomic-context bugs.
Fixes: 9807019a62dc ("um: Loadable BPF "Firmware" for vector drivers")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions