Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit acd34cfc authored by Benjamin Tissoires's avatar Benjamin Tissoires
Browse files

HID: bpf: prevent the same struct_ops to be attached more than once

If the struct_ops is already attached, we should bail out or we will
end up in various locks and pointer issues while unregistering.

Link: https://patch.msgid.link/20240723-fix-6-11-bpf-v1-3-b9d770346784@kernel.org


Signed-off-by: default avatarBenjamin Tissoires <bentiss@kernel.org>
parent f64c1a45
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment