summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorZi Shen Lim <zlim.lnx@gmail.com>2014-07-03 18:56:54 +0400
committerDavid S. Miller <davem@davemloft.net>2014-07-09 01:20:00 +0400
commit9f12fbe603f7ae346b2b46008e325f0c9a68e55d (patch)
tree440fb57e08880b9a7fe5f9180dd7da9dae50a19c /drivers
parent3d5baba0ecfdd5de35bb7ce41ef9218f2b17b006 (diff)
downloadlinux-9f12fbe603f7ae346b2b46008e325f0c9a68e55d.tar.xz
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: 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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions