linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] HID: bpf: couple of upstream fixes
@ 2024-01-23 16:40 Benjamin Tissoires
  2024-01-23 16:40 ` [PATCH 1/2] HID: bpf: remove double fdget() Benjamin Tissoires
  2024-01-23 16:40 ` [PATCH 2/2] HID: bpf: use __bpf_kfunc instead of noinline Benjamin Tissoires
  0 siblings, 2 replies; 6+ messages in thread
From: Benjamin Tissoires @ 2024-01-23 16:40 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires, Dan Carpenter, Daniel Borkmann
  Cc: linux-input, linux-kernel, bpf, Benjamin Tissoires, stable

Hi,

these are a couple of fixes for hid-bpf. The first one should
probably go in ASAP, after the reviews, and the second one is nice
to have and doesn't hurt much.

Thanks Dan for finding out the issue with bpf_prog_get()

Cheers,
Benjamin

Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
---
Benjamin Tissoires (2):
      HID: bpf: remove double fdget()
      HID: bpf: use __bpf_kfunc instead of noinline

 drivers/hid/bpf/hid_bpf_dispatch.c  | 88 +++++++++++++++++++++++++------------
 drivers/hid/bpf/hid_bpf_dispatch.h  |  4 +-
 drivers/hid/bpf/hid_bpf_jmp_table.c | 20 ++-------
 include/linux/hid_bpf.h             | 11 -----
 4 files changed, 66 insertions(+), 57 deletions(-)
---
base-commit: fef018d8199661962b5fc0f0d1501caa54b2b533
change-id: 20240123-b4-hid-bpf-fixes-662908fe2234

Best regards,
-- 
Benjamin Tissoires <bentiss@kernel.org>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-24  9:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23 16:40 [PATCH 0/2] HID: bpf: couple of upstream fixes Benjamin Tissoires
2024-01-23 16:40 ` [PATCH 1/2] HID: bpf: remove double fdget() Benjamin Tissoires
2024-01-23 17:19   ` Benjamin Tissoires
2024-01-23 16:40 ` [PATCH 2/2] HID: bpf: use __bpf_kfunc instead of noinline Benjamin Tissoires
2024-01-23 19:57   ` Andrii Nakryiko
2024-01-24  9:58     ` Benjamin Tissoires

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).