HomeFreeBSD

tcp: fix sending RST after second inp lookup

Description

tcp: fix sending RST after second inp lookup

When we first find an inp, we set also the tp. If then a second
lookup is necessary, the inp is recomputed. If this fails, the
tp is not cleared, which resulted in failing KASSERT.
Therefore, clear the tp when staring the inp lookup procedure.
Reported by: Jenkins
Fixes: 02d15215cef2 ("tcp: improve blackhole support")
MFC after: 1 week
Sponsored by: Netflix, Inc.

Details

Provenance
tuexenAuthored on May 25 2024, 5:46 PM
Parents
rG0a44b8a56d23: vm: Simplify startup page dumping conditional
Branches
Unknown
Tags
Unknown