commit | 9f12fbe603f7ae346b2b46008e325f0c9a68e55d | [log] [tgz] |
---|---|---|
author | Zi Shen Lim <zlim.lnx@gmail.com> | Thu Jul 03 07:56:54 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 08 14:20:00 2014 -0700 |
tree | 440fb57e08880b9a7fe5f9180dd7da9dae50a19c | |
parent | 3d5baba0ecfdd5de35bb7ce41ef9218f2b17b006 [diff] |
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>