Home
last modified time | relevance | path

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

/linux/net/core/
H A Dfilter.c1146 struct sock_fprog_kern *fkprog; in bpf_prog_store_orig_filter() local
1148 fp->orig_prog = kmalloc(sizeof(*fkprog), GFP_KERNEL); in bpf_prog_store_orig_filter()
1152 fkprog = fp->orig_prog; in bpf_prog_store_orig_filter()
1153 fkprog->len = fprog->len; in bpf_prog_store_orig_filter()
1155 fkprog->filter = kmemdup(fp->insns, fsize, in bpf_prog_store_orig_filter()
1157 if (!fkprog->filter) { in bpf_prog_store_orig_filter()