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)
commit440c5752a3cad6ec303613e0446adde790dc39be
tree2dc8b38a12a4ce910cfcaf187b32b45565d358a6
parent48ca6243c6adf1a3d7e7a0fd519ba918eb7b00ca
parent96d46c508506136ed35c4b02d74ce38e91d88421
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>