Re: [RFC PATCH v8 38/49] bpf tools: Load instructions buffer using load_program()

From: Alexei Starovoitov
Date: Fri Jun 26 2015 - 04:29:13 EST


On 6/24/15 5:31 AM, Wang Nan wrote:
Extract code for loading a 'struct bpf_insn' array into kernel to
load_program() and makes bpf_program__load() to call it. Now we have
function loads instructions into kernel. It will be used by further
patches, which creates different instances from a program and load them
into kernel.

Signed-off-by: Wang Nan<wangnan0@xxxxxxxxxx>

I think it's cleaner to squash this patch with earlier libbpf patches.
Looks good otherwise.
--
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/