]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit037a560cb35d755baf304df26206a42c6612d69f
treee1a7fbbafc0e7f63aacf5e09a97c37c2da937023
parent76e9a924d7d0e27b818afb7eb45bd368cadd52a2
parent6d1360966e6c8437651e074fb8b6d5696c751908
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>