Hi,

> -----Original Message-----
> From: jiangheng (G) <[email protected]>
> Sent: Thursday, April 13, 2023 3:58 AM
> To: Slava Ovsiienko <[email protected]>; [email protected]; Matan Azrad
> <[email protected]>
> Subject: [PATCH v2] net/mlx5: fix lro update tcp header cksum error
> 
> The variable csum is the sum of three 16 bits integers, the max value is
> 0x2FFFD. The corner case of sum of 3 is 0x1FFFF gives the wrong
> result: 0x1 + 0xFFFF = 0x10000, the upper 16 bits are not 0.
> It must be folded again to ensure that the upper 16 bits are 0.
> 
> Fixes: e4c2a16eb1de ("net/mlx5: handle LRO packets in Rx queue")
> Cc: [email protected]
> 
> Signed-off-by: jiangheng <[email protected]>
Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to