net: filter: move load_pointer() into filter.h
authorZi Shen Lim <zlim.lnx@gmail.com>
Thu, 3 Jul 2014 14:56:54 +0000 (07:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 21:20:00 +0000 (14:20 -0700)
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: Zi Shen Lim <zlim.lnx@gmail.com>
Reviewed-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/filter.h
net/core/filter.c

Simple merge
Simple merge