summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTejaswi Tanikella <tejaswit@codeaurora.org>2017-06-20 18:22:19 +0530
committerTejaswi Tanikella <tejaswit@codeaurora.org>2017-06-30 13:28:14 +0530
commit41ffaeef9a91513760c19737ca57fdad13077f18 (patch)
tree531ddb6f759b936952b845eaeb95030499019026 /tools/perf/scripts/python
parent6f56b2a9c8e2ce69e2a98e52d5f1342b25cae44e (diff)
ipv4: Drop packets if checksum is invalidated
Conntrack, if enabled, verifies complete checksum on all tcp packets. If a packet is corrupted, it sets ip_summed field to CHECKSUM_COMPLETE and checksum valid field to false. With these changes such packet will be dropped. Packets that are corrupted can go into userspace even when the checksum is wrong. The io_vec library pushes the data into pipe before checking the checksum. If the checksum is wrong, the copied data is not reverted. Users observe corrupted data in the application memory due to such corrupted packets. This fix is to plug one such hole. This change might be redundant on kernels after v4.9. Change-Id: Iffface598d0fa2b25fb9c20c7aa6443aab9d8aea Signed-off-by: Tejaswi Tanikella <tejaswit@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions