diff options
author | Stanislav Fomichev <sdf@google.com> | 2020-12-02 09:25:15 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-12-02 13:25:11 -0800 |
commit | 427167c0b064ed898b848209add62b4322ec7840 (patch) | |
tree | 7708fccc1fae344093e5835ee142118a1a251c2b /net/ipv4/inet_connection_sock.c | |
parent | a999696c547f1a8ef2ddbb9b0e77abc3f6db4ff1 (diff) |
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 'net/ipv4/inet_connection_sock.c')
0 files changed, 0 insertions, 0 deletions