[PATCHv2] net: bpf: reject invalid shifts
David Miller
davem at davemloft.net
Tue Jan 12 18:45:07 PST 2016
From: Alexei Starovoitov <alexei.starovoitov at gmail.com>
Date: Tue, 12 Jan 2016 18:24:16 -0800
> If anyone wants to submit a patch that masks K &= 31, I would ok
> with it as well, but imo it's a disservice to classic bpf users.
This is how I feel as well. I hate when some developer of a tool
thinks it's ok to silently let me do something which it can strictly
determine is questionable without my explicitly asking it to do so.
More information about the linux-arm-kernel
mailing list