summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2020-03-27 16:58:51 +0100
committerAlexei Starovoitov <ast@kernel.org>2020-03-27 19:40:38 -0700
commitfcf752ea8c9493acc33280e72112ea6108a0d104 (patch)
treee6ca715778403e990f3182e370e00e4d6dbed469 /include/net
parent0e53d9e5e82056555020c47ee0c7a087147be084 (diff)
downloadlinux-fcf752ea8c9493acc33280e72112ea6108a0d104.tar.gz
linux-fcf752ea8c9493acc33280e72112ea6108a0d104.tar.bz2
linux-fcf752ea8c9493acc33280e72112ea6108a0d104.zip
bpf: Enable perf event rb output for bpf cgroup progs
Currently, connect(), sendmsg(), recvmsg() and bind-related hooks are all lacking perf event rb output in order to push notifications or monitoring events up to user space. Back in commit a5a3a828cd00 ("bpf: add perf event notificaton support for sock_ops"), I've worked with Sowmini to enable them for sock_ops where the context part is not used (as opposed to skbs for example where the packet data can be appended). Make the bpf_sockopt_event_output() helper generic and enable it for mentioned hooks. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/69c39daf87e076b31e52473c902e9bfd37559124.1585323121.git.daniel@iogearbox.net
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions