]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Document optval > PAGE_SIZE behavior for sockopt hooks
authorStanislav Fomichev <sdf@google.com>
Wed, 17 Jun 2020 01:04:16 +0000 (18:04 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 17 Jun 2020 17:54:05 +0000 (10:54 -0700)
commit54fde6c63b9cea05b426ac0ba184bb44ed4176af
treedc7cd3c1ae17b73b2a7e56cef6eaac706ae3c080
parentcc9f6d27f63657a350524e64110be4573342d501
bpf: Document optval > PAGE_SIZE behavior for sockopt hooks

Extend existing doc with more details about requiring ctx->optlen = 0
for handling optval > PAGE_SIZE.

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200617010416.93086-3-sdf@google.com
Documentation/bpf/prog_cgroup_sockopt.rst