From: Tobias Klauser Date: Tue, 18 Apr 2017 09:27:00 +0000 (+0200) Subject: bpf: remove reference to sock_filter_ext from kerneldoc comment X-Git-Tag: microblaze-4.13-rc1~207^2~154 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=1f504ec9896ba682270c2ffc119f93eb8ac064ee;p=linux-2.6-microblaze.git bpf: remove reference to sock_filter_ext from kerneldoc comment struct sock_filter_ext didn't make it into the tree and is now called struct bpf_insn. Reword the kerneldoc comment for bpf_convert_filter() accordingly. Signed-off-by: Tobias Klauser Acked-by: Daniel Borkmann Acked-by: Alexei Starovoitov Signed-off-by: David S. Miller --- diff --git a/net/core/filter.c b/net/core/filter.c index 19be954f8ce7..085925834727 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -354,7 +354,8 @@ static bool convert_bpf_extensions(struct sock_filter *fp, * @new_prog: buffer where converted program will be stored * @new_len: pointer to store length of converted program * - * Remap 'sock_filter' style BPF instruction set to 'sock_filter_ext' style. + * Remap 'sock_filter' style classic BPF (cBPF) instruction set to 'bpf_insn' + * style extended BPF (eBPF). * Conversion workflow: * * 1) First pass for calculating the new program length: