net: filter: rename sk_convert_filter() -> bpf_convert_filter()
to indicate that this function is converting classic BPF into eBPF and not related to sockets Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4df95ff488
commit
8fb575ca39
5 changed files with 14 additions and 14 deletions
|
@ -235,7 +235,7 @@ static int do_jit(struct sk_filter *bpf_prog, int *addrs, u8 *image,
|
|||
/* mov qword ptr [rbp-X],rbx */
|
||||
EMIT3_off32(0x48, 0x89, 0x9D, -stacksize);
|
||||
|
||||
/* sk_convert_filter() maps classic BPF register X to R7 and uses R8
|
||||
/* bpf_convert_filter() maps classic BPF register X to R7 and uses R8
|
||||
* as temporary, so all tcpdump filters need to spill/fill R7(r13) and
|
||||
* R8(r14). R9(r15) spill could be made conditional, but there is only
|
||||
* one 'bpf_error' return path out of helper functions inside bpf_jit.S
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue