diff options
| author | David Lebrun <david.lebrun@uclouvain.be> | 2016-11-16 12:05:46 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-17 01:01:15 +0300 |
| commit | a23a8f5bc17e6209eefadcd1cb3d3e28a2cdf530 (patch) | |
| tree | 000bc1bfe0f3522169d571d5b8b8fe571261b45e /tools/perf/scripts/python | |
| parent | d331d30360d7d10c4150a5a6452bc8d9aeb5784f (diff) | |
| download | linux-a23a8f5bc17e6209eefadcd1cb3d3e28a2cdf530.tar.xz | |
lwtunnel: subtract tunnel headroom from mtu on output redirect
This patch changes the lwtunnel_headroom() function which is called
in ipv4_mtu() and ip6_mtu(), to also return the correct headroom
value when the lwtunnel state is OUTPUT_REDIRECT.
This patch enables e.g. SR-IPv6 encapsulations to work without
manually setting the route mtu.
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
