HomeFreeBSD

rack: Update the fast send block on setsockopt(2)

Description

rack: Update the fast send block on setsockopt(2)

Rack caches TCP/IP header for fast send, so it doesn't call
tcpip_fillheaders(). After certain socket option changes,
namely IPV6_TCLASS, IP_TOS and IP_TTL it needs to update
its fast block to be in sync with the inpcb.

Reviewed by: rrs
Differential Revision: https://reviews.freebsd.org/D32655

Details

Provenance
glebiusAuthored on Oct 26 2021, 3:54 AM
Reviewer
rrs
Differential Revision
D32655: Pass down some IP level setsockopt()s into TCP stack(s)
Parents
rGf581a26e46b8: Factor out tcp6_use_min_mtu() to handle IPV6_USE_MIN_MTU by TCP.
Branches
Unknown
Tags
Unknown