aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2018-07-07 16:15:26 -0700
committerDavid S. Miller <[email protected]>2018-07-08 10:54:58 +0900
commite7372197e15856ec4ee66b668020a662994db103 (patch)
tree848d1134aedf7b4a52efb58863675e90a8b4925a /tools/perf/scripts/python/syscall-counts-by-pid.py
parentde508f8b5a1eb965c63ac6741acb19b703005cb6 (diff)
net/ipv4: Set oif in fib_compute_spec_dst
Xin reported that icmp replies may not use the address on the device the echo request is received if the destination address is broadcast. Instead a route lookup is done without considering VRF context. Fix by setting oif in flow struct to the master device if it is enslaved. That directs the lookup to the VRF table. If the device is not enslaved, oif is still 0 so no affect. Fixes: cd2fbe1b6b51 ("net: Use VRF device index for lookups on RX") Reported-by: Xin Long <[email protected]> Signed-off-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions