ebpf: misc core cleanup
authorDaniel Borkmann <daniel@iogearbox.net>
Fri, 29 May 2015 21:23:07 +0000 (23:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2015 04:44:44 +0000 (21:44 -0700)
commit3324b584b6f633a24550691c194600bcab7fc899
tree2894bf499d8cc8d792711eef8684b65d3e45c853
parent17ca8cbf49be3aa94bb1c2b7ee6545fd70094eb4
ebpf: misc core cleanup

Besides others, move bpf_tail_call_proto to the remaining definitions
of other protos, improve comments a bit (i.e. remove some obvious ones,
where the code is already self-documenting, add objectives for others),
simplify bpf_prog_array_compatible() a bit.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/bpf/core.c
kernel/bpf/helpers.c