]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, sk_msg: Add get socket storage helpers
authorJohn Fastabend <john.fastabend@gmail.com>
Sun, 24 May 2020 16:51:15 +0000 (09:51 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 1 Jun 2020 21:38:20 +0000 (14:38 -0700)
commit211fe10ce7b054674d00b7dfa1ca642706c2ae7c
treebc3bc59b3ccbbe64caa3b1909b83d545f74e4ff1
parent78d1b959e33930cbc90c5a4c19d74ac7779db479
bpf, sk_msg: Add get socket storage helpers

Add helpers to use local socket storage.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/159033907577.12355.14740125020572756560.stgit@john-Precision-5820-Tower
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/uapi/linux/bpf.h
net/core/filter.c
tools/include/uapi/linux/bpf.h