Skip to content
Snippets Groups Projects
Commit ee583014 authored by Dan Carpenter's avatar Dan Carpenter Committed by Alexei Starovoitov
Browse files

samples/bpf: test_cgrp2_sock2: fix an off by one


"prog_cnt" is the number of elements which are filled out in prog_fd[]
so the test should be >= instead of >.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent b0294bc1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment