Home
last modified time | relevance | path

Searched hist:"0 dcf0c0aeefd2bc1023c9fe7ab0f1b6bc993c360" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/net/
H A Dchecksum.cdiff 0dcf0c0aeefd2bc1023c9fe7ab0f1b6bc993c360 Fri Dec 11 03:35:10 CST 2020 Markus Carlstedt <markus.carlstedt@windriver.com> net: checksum: Skip fragmented IP packets

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>
Signed-off-by: Jason Wang <jasowang@redhat.com>