Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f504ec9 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

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: default avatarTobias Klauser <tklauser@distanz.ch>
Acked-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 028f43bc
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -354,7 +354,8 @@ static bool convert_bpf_extensions(struct sock_filter *fp,
 *	@new_prog: buffer where converted program will be stored
 *	@new_prog: buffer where converted program will be stored
 *	@new_len: pointer to store length of converted program
 *	@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:
 * Conversion workflow:
 *
 *
 * 1) First pass for calculating the new program length:
 * 1) First pass for calculating the new program length: