]> 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)
commit8a107dba7ca2ad455e4d0b6d1d215fa0cec7a6ff
treedc7cd3c1ae17b73b2a7e56cef6eaac706ae3c080
parentbad7b3a628ec317a3869619633d504466aebeb85
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