aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2022-04-29 21:05:16 +0100
committerDavid S. Miller <[email protected]>2022-04-30 13:59:34 +0100
commit39cb9faa5d46d0d0694f4b594ef905f517600c8e (patch)
tree2671a413a79e1980d25b271990bf48d4f6396721 /tools/perf/scripts/python/flamegraph.py
parent95098d5ac2551769807031444e55a0da5d4f0952 (diff)
rxrpc: Enable IPv6 checksums on transport socket
AF_RXRPC doesn't currently enable IPv6 UDP Tx checksums on the transport socket it opens and the checksums in the packets it generates end up 0. It probably should also enable IPv6 UDP Rx checksums and IPv4 UDP checksums. The latter only seem to be applied if the socket family is AF_INET and don't seem to apply if it's AF_INET6. IPv4 packets from an IPv6 socket seem to have checksums anyway. What seems to have happened is that the inet_inv_convert_csum() call didn't get converted to the appropriate udp_port_cfg parameters - and udp_sock_create() disables checksums unless explicitly told not too. Fix this by enabling the three udp_port_cfg checksum options. Fixes: 1a9b86c9fd95 ("rxrpc: use udp tunnel APIs instead of open code in rxrpc_open_socket") Reported-by: Marc Dionne <[email protected]> Signed-off-by: David Howells <[email protected]> Reviewed-by: Xin Long <[email protected]> Reviewed-by: Marc Dionne <[email protected]> cc: Vadim Fedorenko <[email protected]> cc: David S. Miller <[email protected]> cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions