Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/core/
Dsock_map.c162 if (psock->parser.enabled && stab->progs.skb_verdict) in sock_map_del_link()
236 struct bpf_prog *msg_parser, *skb_parser, *skb_verdict; in sock_map_link() local
240 skb_verdict = READ_ONCE(progs->skb_verdict); in sock_map_link()
241 if (skb_verdict) { in sock_map_link()
242 skb_verdict = bpf_prog_inc_not_zero(skb_verdict); in sock_map_link()
243 if (IS_ERR(skb_verdict)) in sock_map_link()
244 return PTR_ERR(skb_verdict); in sock_map_link()
274 (skb_verdict && READ_ONCE(psock->progs.skb_verdict))) { in sock_map_link()
295 if (skb_parser && skb_verdict && !psock->parser.enabled) { in sock_map_link()
299 psock_set_prog(&psock->progs.skb_verdict, skb_verdict); in sock_map_link()
[all …]
Dskmsg.c697 else if (psock->progs.skb_verdict) in sk_psock_drop()
815 prog = READ_ONCE(psock->progs.skb_verdict); in sk_psock_tls_strp_read()
885 prog = READ_ONCE(psock->progs.skb_verdict); in sk_psock_strp_read()
962 prog = READ_ONCE(psock->progs.skb_verdict); in sk_psock_verdict_recv()
/kernel/linux/linux-5.10/include/linux/
Dskmsg.h60 struct bpf_prog *skb_verdict; member
439 psock_set_prog(&progs->skb_verdict, NULL); in psock_progs_drop()