Files
linux/kernel
Joanne Koong 8ab4cdcf03 bpf: Tidy up verifier check_func_arg()
This patch does two things:

1. For matching against the arg type, the match should be against the
base type of the arg type, since the arg type can have different
bpf_type_flags set on it.

2. Uses switch casing to improve readability + efficiency.

Signed-off-by: Joanne Koong <[email protected]>
Acked-by: Hao Luo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
2022-07-13 14:45:58 -07:00
..
2021-12-02 17:25:21 +09:00
2022-06-15 19:28:44 -04:00
…
…
…
…
2022-03-15 10:32:44 +01:00
…
…
…
…
2022-07-12 15:27:19 -07:00
…
…
…
…
…
2022-01-08 12:43:57 -06:00
…
…
…
2022-02-25 09:36:06 +01:00
…
…
…
…
…