diff options
author | Yan Zhai <[email protected]> | 2023-10-24 07:26:37 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-25 18:04:29 -0700 |
commit | 1f7ec1b3721d7f49f13d01e6f5ed5f28a305e3b6 (patch) | |
tree | e3fcb2c9e010a9cc44fd0a820df958ffbb99170e /tools/perf/scripts/python/net_dropmonitor.py | |
parent | e57a34478586fe3562560ccebd655b707a5b4a56 (diff) |
ipv6: refactor ip6_finish_output for GSO handling
Separate GSO and non-GSO packets handling to make the logic cleaner. For
GSO packets, frag_max_size check can be omitted because it is only
useful for packets defragmented by netfilter hooks. Both local output
and GRO logic won't produce GSO packets when defragment is needed. This
also mirrors what IPv4 side code is doing.
Suggested-by: Florian Westphal <[email protected]>
Signed-off-by: Yan Zhai <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://lore.kernel.org/r/0e1d4599f858e2becff5c4fe0b5f843236bc3fe8.1698156966.git.yan@cloudflare.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions