Home
last modified time | relevance | path

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

/linux-6.6.21/net/core/
Dfilter.c1139 struct sock_fprog_kern *fkprog; in bpf_prog_store_orig_filter() local
1141 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter()
1145 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter()
1146 fkprog->len = fprog->len; in bpf_prog_store_orig_filter()
1148 fkprog->filter = kmemdup(fp->insns, fsize, in bpf_prog_store_orig_filter()
1150 if (!fkprog->filter) { in bpf_prog_store_orig_filter()