diff options
author | Jakub Sitnicki <jakub@cloudflare.com> | 2020-07-17 12:35:27 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-18 05:18:17 +0200 |
commit | 1122702f02678597c4f1c7d316365ef502aafe08 (patch) | |
tree | 84e18afaca401070713c6e78a313b2ad4113bd5a /net/ipv4 | |
parent | inet6: Extract helper for selecting socket from reuseport group (diff) | |
download | linux-1122702f02678597c4f1c7d316365ef502aafe08.tar.xz linux-1122702f02678597c4f1c7d316365ef502aafe08.zip |
inet6: Run SK_LOOKUP BPF program on socket lookup
Following ipv4 stack changes, run a BPF program attached to netns before
looking up a listening socket. Program can return a listening socket to use
as result of socket lookup, fail the lookup, or take no action.
Suggested-by: Marek Majkowski <marek@cloudflare.com>
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200717103536.397595-7-jakub@cloudflare.com
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions