diff options
author | Yang Shi | 2015-11-04 11:36:37 -0800 |
---|---|---|
committer | David S. Miller | 2015-11-05 00:05:50 -0500 |
commit | d4e4bc16102cb1338be9c75f797156718f8a806d (patch) | |
tree | 5ed4509112b36cb1e79c3a91affebc688d89cd9a /net | |
parent | df761ea1f39fe1c020c31327656bce7a5a406201 (diff) |
bpf: add mod default A and X test cases
When running "mod X" operation, if X is 0 the filter has to be halt.
Add new test cases to cover A = A mod X if X is 0, and A = A mod 1.
CC: Xi Wang <xi.wang@gmail.com>
CC: Zi Shen Lim <zlim.lnx@gmail.com>
Signed-off-by: Yang Shi <yang.shi@linaro.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Zi Shen Lim <zlim.lnx@gmail.com>
Acked-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions