qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/3] net: checksum: Skip fragmented IP packets


From: Jason Wang
Subject: Re: [PATCH v2 1/3] net: checksum: Skip fragmented IP packets
Date: Thu, 17 Dec 2020 15:25:44 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0


On 2020/12/17 下午1:41, Bin Meng wrote:
Hi Jason,

On Fri, Dec 11, 2020 at 5:35 PM Bin Meng <bmeng.cn@gmail.com> wrote:
From: Markus Carlstedt <markus.carlstedt@windriver.com>

To calculate the TCP/UDP checksum we need the whole datagram. Unless
the hardware has some logic to collect all fragments before sending
the whole datagram first, it can only be done by the network stack,
which is normally the case for the NICs we have seen so far.

Skip these fragmented IP packets to avoid checksum corruption.

Signed-off-by: Markus Carlstedt <markus.carlstedt@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
---

(no changes since v1)

  net/checksum.c | 4 ++++
  1 file changed, 4 insertions(+)

Ping?

Regards,
Bin


Queued.

Thanks







reply via email to

[Prev in Thread] Current Thread [Next in Thread]