Skip to content
Commit 9f12fbe6 authored by Zi Shen Lim's avatar Zi Shen Lim Committed by David S. Miller
Browse files

net: filter: move load_pointer() into filter.h



load_pointer() is already a static inline function.
Let's move it into filter.h so BPF JIT implementations can reuse this
function.

Since we're exporting this function, let's also rename it to
bpf_load_pointer() for clarity.

Signed-off-by: default avatarZi Shen Lim <zlim.lnx@gmail.com>
Reviewed-by: default avatarDaniel Borkmann <dborkman@redhat.com>
Acked-by: default avatarAlexei Starovoitov <ast@plumgrid.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3d5baba0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment