Page MenuHomeFreeBSD

Calculate delayed csums for IPv6 adress family in divert_packet
ClosedPublic

Authored by ae on Nov 2 2021, 5:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 14 2022, 3:36 AM
Unknown Object (File)
Dec 5 2022, 2:47 PM
Subscribers

Details

Summary

Before passing an IPv6 packet to application, apply delayed checksum
calculation. mbuf flags will be lost after divert listener returns 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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable