diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-03-24 04:30:39 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-24 22:48:39 +0300 |
| commit | c63a7cc4d795c004b70cb935e8ba77d9e764f0ba (patch) | |
| tree | e1ee1c6235d8540217273d484c320b1940be5fb8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5139c0c007250c01c61337d584db4072c4786bf6 (diff) | |
| download | linux-c63a7cc4d795c004b70cb935e8ba77d9e764f0ba.tar.xz | |
netfilter: flowtable: use dev_fill_forward_path() to obtain ingress device
Obtain the ingress device in the tuple from the route in the reply
direction. Use dev_fill_forward_path() instead to get the real ingress
device for this flow.
Fall back to use the ingress device that the IP forwarding route
provides if:
- dev_fill_forward_path() finds no real ingress device.
- the ingress device that is obtained is not part of the flowtable
devices.
- this route has a xfrm policy.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
