aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-08-15 00:06:01 -0700
committerDaniel Borkmann <[email protected]>2021-08-17 00:45:08 +0200
commitd88b71d4a91669f0b06693cd094dcd68f67ac58d (patch)
tree87f98a8a452ef4909d26140fec63a4e5016ad93d /net/unix/af_unix.c
parent61c7aa5020e98ac2fdcf07d07eec1baf2e9f0a08 (diff)
libbpf: Remove unused bpf_link's destroy operation, but add dealloc
bpf_link->destroy() isn't used by any code, so remove it. Instead, add ability to override deallocation procedure, with default doing plain free(link). This is necessary for cases when we want to "subclass" struct bpf_link to keep extra information, as is the case in the next patch adding struct bpf_link_perf. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions