aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorLi RongQing <roy.qing.li@gmail.com>2014-10-09 23:36:54 -0400
committerDavid S. Miller <davem@davemloft.net>2014-10-10 15:10:50 -0400
commit1a9525f68e948d53cf99c963bdbf01223a08f4ed (patch)
tree7e6c7aa2248ddaaf714d58484f4a6a2e7b327780 /Documentation/networking
parent3ab52c69282fbc7384fe7e9d14f68ce11040feac (diff)
Documentation: replace __sk_run_filter with __bpf_prog_run
__sk_run_filter has been renamed as __bpf_prog_run, so replace them in comments Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/filter.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt
index b1935f9ce081..58d08f8d8d80 100644
--- a/Documentation/networking/filter.txt
+++ b/Documentation/networking/filter.txt
@@ -700,11 +700,11 @@ Some core changes of the new internal format:
700 bpf_exit 700 bpf_exit
701 701
702 If f2 is JITed and the pointer stored to '_f2'. The calls f1 -> f2 -> f3 and 702 If f2 is JITed and the pointer stored to '_f2'. The calls f1 -> f2 -> f3 and
703 returns will be seamless. Without JIT, __sk_run_filter() interpreter needs to 703 returns will be seamless. Without JIT, __bpf_prog_run() interpreter needs to
704 be used to call into f2. 704 be used to call into f2.
705 705
706 For practical reasons all eBPF programs have only one argument 'ctx' which is 706 For practical reasons all eBPF programs have only one argument 'ctx' which is
707 already placed into R1 (e.g. on __sk_run_filter() startup) and the programs 707 already placed into R1 (e.g. on __bpf_prog_run() startup) and the programs
708 can call kernel functions with up to 5 arguments. Calls with 6 or more arguments 708 can call kernel functions with up to 5 arguments. Calls with 6 or more arguments
709 are currently not supported, but these restrictions can be lifted if necessary 709 are currently not supported, but these restrictions can be lifted if necessary
710 in the future. 710 in the future.