Re: [PATCH] bpf: add mod default A and X test cases

From: Daniel Borkmann
Date: Wed Nov 04 2015 - 15:15:54 EST

On 11/04/2015 08:36 PM, Yang Shi wrote:
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 <>
CC: Zi Shen Lim <zlim.lnx@xxxxxxxxx>
Signed-off-by: Yang Shi <yang.shi@xxxxxxxxxx>


Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at