commit | 85a51f8c28b9812642d76db6889f3f39dc3fbab3 | [log] [tgz] |
---|---|---|
author | Lorenz Bauer <lmb@cloudflare.com> | Fri Mar 22 09:54:00 2019 +0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu Mar 21 18:59:10 2019 -0700 |
tree | 8a21d1ca05554e8c13687ffcfd3ff668afea8446 | |
parent | 0f3adc288df8ba2ac2fea0a8e4890f9fb4cd075d [diff] |
bpf: allow helpers to return PTR_TO_SOCK_COMMON It's currently not possible to access timewait or request sockets from eBPF, since there is no way to return a PTR_TO_SOCK_COMMON from a helper. Introduce RET_PTR_TO_SOCK_COMMON to enable this behaviour. Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>