diff options
author | Yuntao Wang <ytcoode@gmail.com> | 2022-03-25 00:42:38 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-03-28 19:08:17 -0700 |
commit | c29a4920dfcaa1433b09e2674f605f72767a385c (patch) | |
tree | c00840a8ab95456930d9c5a02e6211d9a48ca4a7 /include/scsi/scsi_eh.h | |
parent | 98870605b3742c38353b50b6dbad33fab9de415f (diff) | |
download | lwn-c29a4920dfcaa1433b09e2674f605f72767a385c.tar.gz lwn-c29a4920dfcaa1433b09e2674f605f72767a385c.zip |
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
Diffstat (limited to 'include/scsi/scsi_eh.h')
0 files changed, 0 insertions, 0 deletions