summaryrefslogtreecommitdiffstats
path: root/lib/clz_tab.c
diff options
context:
space:
mode:
authorYang Shi <yang.shi@linaro.org>2015-11-04 11:36:37 -0800
committerDavid S. Miller <davem@davemloft.net>2015-11-05 00:05:50 -0500
commitd4e4bc16102cb1338be9c75f797156718f8a806d (patch)
tree5ed4509112b36cb1e79c3a91affebc688d89cd9a /lib/clz_tab.c
parentdf761ea1f39fe1c020c31327656bce7a5a406201 (diff)
downloadlinux-d4e4bc16102cb1338be9c75f797156718f8a806d.tar.gz
linux-d4e4bc16102cb1338be9c75f797156718f8a806d.tar.bz2
linux-d4e4bc16102cb1338be9c75f797156718f8a806d.zip
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 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions