HomeFreeBSD

ip_divert: calculate delayed checksum for IPv6 adress family

Description

ip_divert: calculate delayed checksum for IPv6 adress family

Before passing an IPv6 packet to application apply delayed checksum
calculation. Mbuf flags will be lost when divert listener will return a
packet back, so we will not be able to do delayed checksum calculation
later. Also an application will get a packet with correct checksum.

Reviewed by: donner
Differential Revision: https://reviews.freebsd.org/D32807

(cherry picked from commit 4a9e95286cacce5bf7cd193b43c4a461cf7d69b8)

Details

Provenance
aeAuthored on Nov 2 2021, 4:59 PM
Reviewer
donner
Differential Revision
D32807: Calculate delayed csums for IPv6 adress family in divert_packet
Parents
rG6b94990f7019: Allocate extra inodes in makefs when leaving free space in UFS images.
Branches
Unknown
Tags
Unknown