Thread (6 messages) flat view 6 messages, 2 authors, 2017-05-24

Re: [PATCH net 1/3] bpf: fix incorrect pruning decision when alignment must be tracked

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2017-05-24 20:17:31

On 05/24/2017 10:07 PM, David Miller wrote:
From: Daniel Borkmann <daniel@iogearbox.net>
Date: Tue, 23 May 2017 18:30:41 +0200
quoted
+	if (!env->strict_alignment && old->off <= cur->off &&
You can't just test env->strict_alignment by itself, that's just an
override and doesn't determine the actual "strict" value we use which
is a combination of env->strict_alignment and
"!CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS".

So you'll have to update this test.
Argh, good point, true. Will respin with a v2.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help