diff options
| author | Lance Richardson <[email protected]> | 2016-11-02 16:36:17 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-03 16:10:26 -0400 |
| commit | 9ee6c5dc816aa8256257f2cd4008a9291ec7e985 (patch) | |
| tree | b52ae6938861f8a9ce99c46db958b28a7ac321fd /tools/perf/scripts/python | |
| parent | da96786e26c3ae47316db2b92046b11268c4379c (diff) | |
ipv4: allow local fragmentation in ip_finish_output_gso()
Some configurations (e.g. geneve interface with default
MTU of 1500 over an ethernet interface with 1500 MTU) result
in the transmission of packets that exceed the configured MTU.
While this should be considered to be a "bad" configuration,
it is still allowed and should not result in the sending
of packets that exceed the configured MTU.
Fix by dropping the assumption in ip_finish_output_gso() that
locally originated gso packets will never need fragmentation.
Basic testing using iperf (observing CPU usage and bandwidth)
have shown no measurable performance impact for traffic not
requiring fragmentation.
Fixes: c7ba65d7b649 ("net: ip: push gso skb forwarding handling down the stack")
Reported-by: Jan Tluka <[email protected]>
Signed-off-by: Lance Richardson <[email protected]>
Acked-by: Hannes Frederic Sowa <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions