diff options
author | Eric Dumazet <[email protected]> | 2012-10-16 22:33:29 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2012-10-17 11:00:31 +0200 |
commit | 2ad5b9e4bd314fc685086b99e90e5de3bc59e26b (patch) | |
tree | 37b4d37135d244a8694901b0820fe3731f0e1f67 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 0b4f5b1d6385826093dc3cd9035b186f0d77a5dc (diff) |
netfilter: xt_TEE: don't use destination address found in header
Torsten Luettgert bisected TEE regression starting with commit
f8126f1d5136be1 (ipv4: Adjust semantics of rt->rt_gateway.)
The problem is that it tries to ARP-lookup the original destination
address of the forwarded packet, not the address of the gateway.
Fix this using FLOWI_FLAG_KNOWN_NH Julian added in commit
c92b96553a80c1 (ipv4: Add FLOWI_FLAG_KNOWN_NH), so that known
nexthop (info->gw.ip) has preference on resolving.
Reported-by: Torsten Luettgert <[email protected]>
Bisected-by: Torsten Luettgert <[email protected]>
Tested-by: Torsten Luettgert <[email protected]>
Cc: Julian Anastasov <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions