Searched hist:cea6c4d969bb104d2847e1f4ed708ae0126d6f42 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/hid/progs/ |
H A D | hid.c | diff cea6c4d969bb104d2847e1f4ed708ae0126d6f42 Fri Jan 13 03:09:29 CST 2023 Benjamin Tissoires <benjamin.tissoires@redhat.com> selftests: hid: attach/detach 2 bpf programs, not just one
Add a second BPF program to attach to the device, as the development of this feature showed that we also need to ensure we can detach multiple programs to a device (hid_bpf_link->hid_table_index was actually not set initially, and this lead to any BPF program not being released except for the first one).
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
/openbmc/linux/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | diff cea6c4d969bb104d2847e1f4ed708ae0126d6f42 Fri Jan 13 03:09:29 CST 2023 Benjamin Tissoires <benjamin.tissoires@redhat.com> selftests: hid: attach/detach 2 bpf programs, not just one
Add a second BPF program to attach to the device, as the development of this feature showed that we also need to ensure we can detach multiple programs to a device (hid_bpf_link->hid_table_index was actually not set initially, and this lead to any BPF program not being released except for the first one).
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|