diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-07-13 18:11:39 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-07-17 01:00:56 +0300 |
commit | b0294bc1ad19e9d2dd03df5faa1ccc395d4ddd4b (patch) | |
tree | 830ba9e74e7b8d8c48c60f9dda4ec0d0b4305e87 /kernel/power/swap.c | |
parent | 301f935be9e09a1bf188bd8262a4db0aeeac2b50 (diff) | |
download | linux-b0294bc1ad19e9d2dd03df5faa1ccc395d4ddd4b.tar.xz |
samples: bpf: ensure that we don't load over MAX_PROGS programs
I can't see that we check prog_cnt to ensure it doesn't go over
MAX_PROGS.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/power/swap.c')
0 files changed, 0 insertions, 0 deletions