summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-04-18 12:27:00 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-20 22:26:49 +0300
commit1f504ec9896ba682270c2ffc119f93eb8ac064ee (patch)
tree5602edf76a947cf1476714e5d98339ae2ae7fbe7 /net/core
parent028f43bc64401ead2bf86adcef1b7ffdbb170509 (diff)
downloadlinux-1f504ec9896ba682270c2ffc119f93eb8ac064ee.tar.xz
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 <tklauser@distanz.ch> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/filter.c3
1 files changed, 2 insertions, 1 deletions
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: