Thread (7 messages) read the whole thread 7 messages, 2 authors, 2020-07-24

Re: [PATCH v3 bpf-next 3/4] bpf: Add kernel module with user mode driver that populates bpffs.

From: Alexei Starovoitov <hidden>
Date: 2020-07-24 19:09:10
Also in: bpf

On Fri, Jul 24, 2020 at 04:53:47PM +0200, Daniel Borkmann wrote:
static const struct bpf_preload_umd_ops umd_ops = {
        .preload        = do_preload,
        .finish         = do_finish,
        .owner          = THIS_MODULE,
};
Thanks for the suggestion. It helped to get rid of ugly #if IS_BUILTIN too.
I'm kinda surprised that THIS_MODULE works for builtin too. Nice.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help