summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2021-07-30 01:00:39 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-08-02 18:45:22 +0300
commitef4b96a5773d7f6568363b3d0c3c3f371fb690bd (patch)
tree46d6b9f2a1231159413aa5f982250aff1efc16e7 /tools/perf/scripts/python/export-to-sqlite.py
parente2a05339fa1188b6b37540f4611893ac4c534fa2 (diff)
downloadlinux-ef4b96a5773d7f6568363b3d0c3c3f371fb690bd.tar.xz
RDMA/rxe: Restore setting tot_len in the IPv4 header
An earlier patch removed setting of tot_len in IPv4 headers because it was also set in ip_local_out. However, this change resulted in an incorrect ICRC being computed because the tot_len field is not masked out. This patch restores that line. This fixes the bug reported by Zhu Yanjun. This bug affects anyone using rxe which is currently broken. Fixes: 230bb836ee88 ("RDMA/rxe: Fix redundant call to ip_send_check") Link: https://lore.kernel.org/r/20210729220039.18549-3-rpearsonhpe@gmail.com Reported-by: Zhu Yanjun <zyjzyj2000@gmail.com> Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Reviewed-and-tested-by: Zhu Yanjun <zyjzyj2000@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions