commit | c2c3e11712e23d430a49e1247a8ec211740c2254 | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Mon Aug 07 15:28:45 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 08 17:51:35 2017 -0700 |
tree | 81f9c4cd0679b9fed83cbee35a30fb2f1aec9040 | |
parent | 715dddb5e640bd24ce46dc7885c9657038ad1e23 [diff] |
selftests/bpf: add test for bogus operations on pointers Tests non-add/sub operations (AND, LSH) on pointers decaying them to unknown scalars. Also tests that a pkt_ptr add which could potentially overflow is rejected (find_good_pkt_pointers ignores it and doesn't give us any reg->range). Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>