diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2017-09-25 02:25:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-26 13:36:44 -0700 |
commit | 6aaae2b6c4330a46204bca042f1d2f41e8e18dea (patch) | |
tree | 968031170a423ddc12017457f64e20ba753a7ecd /net/core/lwt_bpf.c | |
parent | 3bd3b9ed1b602c065aa0b1ba109b9622afa6ff98 (diff) | |
download | linux-6aaae2b6c4330a46204bca042f1d2f41e8e18dea.tar.gz linux-6aaae2b6c4330a46204bca042f1d2f41e8e18dea.tar.bz2 linux-6aaae2b6c4330a46204bca042f1d2f41e8e18dea.zip |
bpf: rename bpf_compute_data_end into bpf_compute_data_pointers
Just do the rename into bpf_compute_data_pointers() as we'll add
one more pointer here to recompute.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/lwt_bpf.c')
-rw-r--r-- | net/core/lwt_bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/lwt_bpf.c b/net/core/lwt_bpf.c index 1307731ddfe4..e7e626fb87bb 100644 --- a/net/core/lwt_bpf.c +++ b/net/core/lwt_bpf.c @@ -51,7 +51,7 @@ static int run_lwt_bpf(struct sk_buff *skb, struct bpf_lwt_prog *lwt, */ preempt_disable(); rcu_read_lock(); - bpf_compute_data_end(skb); + bpf_compute_data_pointers(skb); ret = bpf_prog_run_save_cb(lwt->prog, skb); rcu_read_unlock(); |