HomeFreeBSD

Clear tp->tod in t4_pcb_detach().

Description

Clear tp->tod in t4_pcb_detach().

Otherwise, a socket can have a non-NULL tp->tod while TF_TOE is clear.
In particular, if a newly accepted socket falls back to non-TOE due to
an active open failure, the non-TOE socket will still have tp->tod set
even though TF_TOE is clear.

Reviewed by: np
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D27028

Details

Provenance
jhbAuthored on Nov 10 2020, 7:54 PM
Parents
rGe268fd0a029e: Support initializing stack variables on function entry
Branches
Unknown
Tags
Unknown

Event Timeline