summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2020-12-02 18:25:15 +0100
committerAlexei Starovoitov <ast@kernel.org>2020-12-02 22:25:11 +0100
commit427167c0b064ed898b848209add62b4322ec7840 (patch)
tree7708fccc1fae344093e5835ee142118a1a251c2b /fs
parentselftests/bpf: Rewrite test_sock_addr bind bpf into C (diff)
downloadlinux-427167c0b064ed898b848209add62b4322ec7840.tar.xz
linux-427167c0b064ed898b848209add62b4322ec7840.zip
bpf: Allow bpf_{s,g}etsockopt from cgroup bind{4,6} hooks
I have to now lock/unlock socket for the bind hook execution. That shouldn't cause any overhead because the socket is unbound and shouldn't receive any traffic. Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrey Ignatov <rdna@fb.com> Link: https://lore.kernel.org/bpf/20201202172516.3483656-3-sdf@google.com
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions