diff options
author | 2021-06-17 23:57:39 -0500 | |
---|---|---|
committer | 2021-06-22 15:38:52 -0300 | |
commit | 230bb836ee88683052b01e3bff3885c440a785b1 (patch) | |
tree | 3057fabf5c695cd992aeb4fa276bdecc485e0830 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/rxe: Fix useless copy in send_atomic_ack (diff) | |
download | linux-dev-230bb836ee88683052b01e3bff3885c440a785b1.tar.xz linux-dev-230bb836ee88683052b01e3bff3885c440a785b1.zip |
RDMA/rxe: Fix redundant call to ip_send_check
For IPV4 packets sent on the wire the rxe driver calls ip_local_out()
which immediately calls __ip_local_out() which sets iph->tot_len and calls
ip_send_check(). This code is duplicated in prepare4(). On the loopback
path the IP header checksum and tot_len fields are not used so they do not
need to be set.
Remove this redundant code.
Fixes: 8700e3e7c485 ("Soft RoCE driver")
Link: https://lore.kernel.org/r/20210618045742.204195-3-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions