Home
last modified time | relevance | path

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

/linux-6.12.1/net/core/
Dsock_map.c1703 struct sockmap_link { struct
1711 struct sockmap_link *sockmap_link = container_of(link, struct sockmap_link, link); in sock_map_link_release() argument
1714 if (!sockmap_link->map) in sock_map_link_release()
1717 WARN_ON_ONCE(sock_map_prog_update(sockmap_link->map, NULL, link->prog, link, in sock_map_link_release()
1718 sockmap_link->attach_type)); in sock_map_link_release()
1720 bpf_map_put_with_uref(sockmap_link->map); in sock_map_link_release()
1721 sockmap_link->map = NULL; in sock_map_link_release()
1745 const struct sockmap_link *sockmap_link = container_of(link, struct sockmap_link, link); in sock_map_link_update_prog() local
1763 if (!sockmap_link->map) { in sock_map_link_update_prog()
1768 ret = sock_map_prog_link_lookup(sockmap_link->map, &pprog, &plink, in sock_map_link_update_prog()
[all …]