]> 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)
commit9e31e5d94f10c64bc1e89b1037f81a898c835206
tree2dc8b38a12a4ce910cfcaf187b32b45565d358a6
parent159067af5590376cd75007dc493e1c16856089f9
parentb214fa31c100f53825a643dfa0a33fca0cf1577e
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>