Merge branch 'Get ingress_ifindex in BPF_SK_LOOKUP prog type'
authorAlexei Starovoitov <ast@kernel.org>
Thu, 11 Nov 2021 00:29:59 +0000 (16:29 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 11 Nov 2021 00:30:17 +0000 (16:30 -0800)
commit04f8cb6d6b6752ed14dbf91c616717fa30655ef6
treee1a7fbbafc0e7f63aacf5e09a97c37c2da937023
parent1a8b597ddabe7dc25aa9defd33949d455ee9cde8
parent8b4fd2bf1f47c3e3a63c327fca2ad5c4e2691ef8
Merge branch 'Get ingress_ifindex in BPF_SK_LOOKUP prog type'

Mark Pashmfouroush says:

====================

BPF_SK_LOOKUP users may want to have access to the ifindex of the skb
which triggered the socket lookup. This may be useful for selectively
applying programmable socket lookup logic to packets that arrive on a
specific interface, or excluding packets from an interface.

v3:
- Rename ifindex field to ingress_ifindex for consistency. (Yonghong)

v2:
- Fix inaccurate comment (Alexei)
- Add more details to commit messages (John)
====================

Revieview-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>