HomeFreeBSD

Explicitly assert socket pointer is non-NULL in tcp_input() so as to
rS157136Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Explicitly assert socket pointer is non-NULL in tcp_input() so as to
provide better debugging information.

Prefer explicit comparison to NULL for tcpcb pointers rather than
treating them as booleans.

MFC after: 1 month

Details

Provenance
rwatsonAuthored on
Parents
rS157135: MFC revision 1.232, 1.233, fix thread suspension race.
Branches
Unknown
Tags
Unknown

Event Timeline