Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/team/
Dteam_mode_loadbalance.c62 struct sock_fprog_kern *orig_fprog; member
249 if (!lb_priv->ex->orig_fprog) { in lb_bpf_func_get()
254 ctx->data.bin_val.len = lb_priv->ex->orig_fprog->len * in lb_bpf_func_get()
256 ctx->data.bin_val.ptr = lb_priv->ex->orig_fprog->filter; in lb_bpf_func_get()
307 if (lb_priv->ex->orig_fprog) { in lb_bpf_func_set()
309 __fprog_destroy(lb_priv->ex->orig_fprog); in lb_bpf_func_set()
315 lb_priv->ex->orig_fprog = fprog; in lb_bpf_func_set()
329 if (!lb_priv->ex->orig_fprog) in lb_bpf_func_free()
332 __fprog_destroy(lb_priv->ex->orig_fprog); in lb_bpf_func_free()