[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/3] net: checksum: Skip fragmented IP packets
From: |
Bin Meng |
Subject: |
Re: [PATCH v2 1/3] net: checksum: Skip fragmented IP packets |
Date: |
Thu, 17 Dec 2020 13:41:37 +0800 |
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