HomeFreeBSD

tcp: ensure the tcpcb is not NULL when logging an event

Description

tcp: ensure the tcpcb is not NULL when logging an event

When calling tcp_bblog_pru() on some error paths, tp is NULL,
therefore handle it.

Sponsored by: Netflix, Inc.

Details

Provenance
tuexenAuthored on Feb 23 2023, 1:01 AM
Parents
rGfe5c211ba873: nfsd.c: Log a more meaningful failure message
Branches
Unknown
Tags
Unknown