]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Do not limit cb_flags when creating child sk'
authorAlexei Starovoitov <ast@kernel.org>
Fri, 2 Oct 2020 18:34:48 +0000 (11:34 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 2 Oct 2020 18:34:55 +0000 (11:34 -0700)
commit153881ed373d6fb2eff2881c49971d3a64f4e954
tree2dc8b38a12a4ce910cfcaf187b32b45565d358a6
parent65b0faf3f56858f63809f423b095d8ae82ac2446
parentf4dfeb58bd87430b574bbc724ae5e41cf7ef5b61
Merge branch 'Do not limit cb_flags when creating child sk'

Martin KaFai says:

====================
This set fixes an issue that the bpf_skops_init_child() unnecessarily
limited the child sk from inheriting all bpf_sock_ops_cb_flags
of the listen sk.  It also adds a test to check that.
====================

Tested-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>