Re: [PATCHv2 net-next] net: filter: move load_pointer() into filter.h

From: Alexei Starovoitov
Date: Thu Jul 03 2014 - 13:23:30 EST


On Thu, Jul 3, 2014 at 7:56 AM, Zi Shen Lim <zlim.lnx@xxxxxxxxx> wrote:
> 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@xxxxxxxxx>

Acked-by: Alexei Starovoitov <ast@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/