Files
linux-st/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
..
2012-10-08 13:50:20 +10:30
2012-12-02 00:05:12 +00:00
2013-11-15 09:32:21 +09:00
2010-08-04 11:00:45 +02:00
2007-02-09 17:39:36 -05:00
2013-05-07 18:38:27 -07:00
2013-04-29 18:28:40 -07:00
2014-08-22 13:56:47 -07:00
2014-09-09 16:58:56 -07:00
2014-08-19 10:19:39 -05:00
2005-04-16 15:20:36 -07:00
2012-05-31 17:49:32 -07:00
2013-12-11 15:52:34 +01:00
2014-07-17 22:07:37 +02:00
2014-01-27 21:02:39 -08:00
2011-03-31 11:26:23 -03:00
2014-06-04 16:54:12 -07:00
2014-02-17 15:01:37 -08:00
2010-08-09 16:48:44 -04:00
2014-08-08 15:57:24 -07:00
2014-08-22 21:28:02 -07:00
2012-08-21 16:28:31 +02:00
2012-10-09 16:22:32 +09:00
2014-06-04 16:53:57 -07:00