diff options
author | Florian Westphal <fw@strlen.de> | 2015-08-04 14:11:03 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2015-09-18 00:06:09 +0200 |
commit | 048a5e093fde9db515ebc7b14f91bceb6cbd5949 (patch) | |
tree | 6a9192ee071c9d8bbaa05a1a12e1fb810f30fdcc /tests/expr-concat | |
parent | a217645763027da6856efe037c4d3e44abe9d79e (diff) |
netlink: cmp: shift rhs constant if lhs offset doesn't start on byte boundary
if we have payload(someoffset) == 42, then shift 42 in case someoffset
doesn't start on a byte boundary.
We already insert a mask instruction to only load those bits into
the register that we were interested in, but the cmp will fail without
also adjusting rhs accordingly.
Needs additional patch in reverse direction to undo the shift again
when dumping ruleset.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/expr-concat')
0 files changed, 0 insertions, 0 deletions