Home
last modified time | relevance | path

Searched refs:fkprog (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/net/core/
Dfilter.c1137 struct sock_fprog_kern *fkprog; in bpf_prog_store_orig_filter() local
1139 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter()
1143 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter()
1144 fkprog->len = fprog->len; in bpf_prog_store_orig_filter()
1146 fkprog->filter = kmemdup(fp->insns, fsize, in bpf_prog_store_orig_filter()
1148 if (!fkprog->filter) { in bpf_prog_store_orig_filter()