Re: [bpf-next PATCH v2 17/18] bpf: sockmap sample test for bpf_msg_pull_data

David Miller
2018-03-15T18:43:13Z

From: John Fastabend <john.fastabend@gmail.com>
Date: Mon, 12 Mar 2018 12:24:31 -0700

> This adds an option to test the msg_pull_data helper. This
> uses two options txmsg_start and txmsg_end to let the user
> specify start and end bytes to pull.
>
> The options can be used with txmsg_apply, txmsg_cork options
> as well as with any of the basic tests, txmsg, txmsg_redir and
> txmsg_drop (plus noisy variants) to run pull_data inline with
> those tests. By giving user direct control over the variables
> we can easily do negative testing as well as positive tests.
>
> Signed-off-by: John Fastabend <john.fastabend@gmail.com>

Acked-by: David S. Miller <davem@davemloft.net>