summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptGroup.java
diff options
context:
space:
mode:
authorPaul Jensen <pauljensen@google.com>2016-04-14 14:51:02 -0400
committerPaul Jensen <pauljensen@google.com>2016-04-15 13:18:19 +0000
commit91723d7f7ecc07e9bfa84c445213acf1dec0664f (patch)
treeb54cb0b92284e56cdce8a279e50c172602b7da9f /rs/java/android/renderscript/ScriptGroup.java
parentc2e8857a284433ea83006349bcba204bdd1897cc (diff)
Avoid APF JNEBS instruction with R1 as it doesn't work
APF version 2 and prior versions fail to execute JNEBS with R1 argument. The APF interpreter tries to use R1's value as the number of bytes to compare, as well as the offset within the packet to compare at. This change makes ApfFilter avoid using this and makes the APF generator throw if this is used. This was limiting the IPv4 filter, causing it to only drop multicast (when multicast filtering was enabled), rather than a wider range of broadcast packets. Bug: 28206777 Change-Id: I8d116e024e8bd641b21053c6b1defc734d744467
Diffstat (limited to 'rs/java/android/renderscript/ScriptGroup.java')
0 files changed, 0 insertions, 0 deletions