On Tue, Apr 09, 2019 at 10:27:39AM -0700, Stanislav Fomichev wrote:
> Simple test that sets cb to {1,2,3,4,5} and priority to 6, runs bpf
> program that fails if cb is not what we expect and increments cb[i] and
> priority. When the test finishes, we check that cb is now {2,3,4,5,6}
> and priority is 7.
>
> We also test the sanity checks:
> * ctx_in is provided, but ctx_size_in is zero (same for
> ctx_out/ctx_size_out)
> * unexpected non-zero fields in __sk_buff return EINVAL
Acked-by: Martin KaFai Lau <ka...@fb.com>