HomeFreeBSD

Fix an issue I introuced in r367530: tcp_twcheck() can be called

Description

Fix an issue I introuced in r367530: tcp_twcheck() can be called
with to == NULL for SYN segments. So don't assume tp != NULL.
Thanks to jhb@ for reporting and suggesting a fix.

PR: 250499
MFC after: 1 week
XMFC-with: r367530
Sponsored by: Netflix, Inc.

Details

Provenance
tuexenAuthored on Nov 20 2020, 1:00 PM
Parents
rG1b3cb4dc0473: msdosfs: Add trivial support for suspension.
Branches
Unknown
Tags
Unknown

Event Timeline