Files
kernel_arpi/include/linux
Daniel Borkmann 286aad3c40 net: bpf: be friendly to kmemcheck
Reported by Mikulas Patocka, kmemcheck currently barks out a
false positive since we don't have special kmemcheck annotation
for bitfields used in bpf_prog structure.

We currently have jited:1, len:31 and thus when accessing len
while CONFIG_KMEMCHECK enabled, kmemcheck throws a warning that
we're reading uninitialized memory.

As we don't need the whole bit universe for pages member, we
can just split it to u16 and use a bool flag for jited instead
of a bitfield.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-09-09 16:58:56 -07:00
..
2014-08-01 22:35:55 +08:00
2014-07-08 13:36:52 -07:00
2014-06-26 15:46:55 -03:00
2014-08-22 13:56:47 -07:00
2014-09-09 16:58:56 -07:00
2014-08-07 14:40:08 -04:00
2014-08-06 18:01:24 -07:00
2014-08-06 18:01:19 -07:00
2014-08-19 10:19:39 -05:00
2014-06-06 16:08:13 -07:00
2014-07-08 09:40:06 +02:00
2014-06-16 16:26:54 +02:00
2014-07-22 21:55:45 +01:00
2014-07-17 22:07:37 +02:00
2014-07-09 14:58:37 +01:00
2014-06-04 16:54:21 -07:00
2014-07-15 22:40:22 +02:00
2014-06-04 16:54:12 -07:00
2014-08-08 15:57:26 -07:00
2014-08-08 15:57:31 -07:00
2014-08-06 13:03:44 +02:00
2014-06-12 00:21:11 -04:00
2014-08-08 15:57:17 -07:00
2014-08-08 15:57:24 -07:00
2014-08-22 21:28:02 -07:00
2014-08-08 15:57:22 -07:00