automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw117061 [PATCH] TCP data length is incorrectly calculated in the gro_tcp4_reassemble function.
@ 2022-09-28 14:29 dpdklab
  0 siblings, 0 replies; 2+ messages in thread
From: dpdklab @ 2022-09-28 14:29 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/117061

_apply patch failure_

Submitter: jiangheng (G) <jiangheng14@huawei.com>
Date: Wednesday, September 28 2022 14:10:52 
Applied on: CommitID:3fe71706abc1f13294c82477a0538047f8e4ebbf
Apply patch set 117061 failed:

Checking patch lib/gro/gro_tcp4.c...
error: while searching for:
        * Don't process the packet whose payload length is less than or
        * equal to 0.
        */
       tcp_dl = pkt->pkt_len - hdr_len;
       if (tcp_dl <= 0)
               return -1;


error: patch failed: lib/gro/gro_tcp4.c:229
Applying patch lib/gro/gro_tcp4.c with 1 reject...
Rejected hunk #1.
diff a/lib/gro/gro_tcp4.c b/lib/gro/gro_tcp4.c	(rejected hunks)
@@ -229,7 +229,7 @@ gro_tcp4_reassemble(struct rte_mbuf *pkt,
         * Don't process the packet whose payload length is less than or
         * equal to 0.
         */
-       tcp_dl = pkt->pkt_len - hdr_len;
+       tcp_dl = rte_be_to_cpu_16(ipv4_hdr->total_length) - hdr_len;
        if (tcp_dl <= 0)
                return -1;


https://lab.dpdk.org/results/dashboard/patchsets/23681/

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] 2+ messages in thread

* |WARNING| pw117061 [PATCH] TCP data length is incorrectly calculated in the gro_tcp4_reassemble function.
       [not found] <1c1df455cdb640c9889d359186d38637@huawei.com>
@ 2022-09-28 14:12 ` checkpatch
  0 siblings, 0 replies; 2+ messages in thread
From: checkpatch @ 2022-09-28 14:12 UTC (permalink / raw)
  To: test-report; +Cc: jiangheng (G)

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/117061

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#68: 
if packets < 60 bytes, pkt_len will contain padding bytes, tcp_dl is incorrectly calculated. this will result the wrong data length after gro.

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#79: FILE: lib/gro/gro_tcp4.c:232:
+       tcp_dl = rte_be_to_cpu_16(ipv4_hdr->total_length) - hdr_len;$

ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)

total: 1 errors, 2 warnings, 8 lines checked

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-28 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 14:29 |WARNING| pw117061 [PATCH] TCP data length is incorrectly calculated in the gro_tcp4_reassemble function dpdklab
     [not found] <1c1df455cdb640c9889d359186d38637@huawei.com>
2022-09-28 14:12 ` checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).