Yuntao Wang c29a4920df bpf: Fix maximum permitted number of arguments check
Since the m->arg_size array can hold up to MAX_BPF_FUNC_ARGS argument
sizes, it's ok that nargs is equal to MAX_BPF_FUNC_ARGS.

Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20220324164238.1274915-1-ytcoode@gmail.com
2022-03-28 19:08:17 -07:00
..
2022-03-07 22:19:32 -08:00
2022-02-23 15:17:51 -08:00
2020-03-13 12:49:52 -07:00
2022-02-23 15:17:51 -08:00
2022-02-23 15:17:51 -08:00
2021-07-15 22:31:10 +02:00
2020-08-28 15:41:30 +02:00
2021-12-18 13:27:41 -08:00
2022-02-23 15:17:51 -08:00
2021-11-12 10:19:09 -08:00