Re: git: 453aa7fac989 - main - tcp: ensure the tcpcb is not NULL when logging an event
Date: Thu, 23 Feb 2023 02:59:57 UTC
On Thu, Feb 23, 2023 at 01:04:35AM +0000, Michael Tuexen wrote: M> The branch main has been updated by tuexen: M> M> URL: https://cgit.FreeBSD.org/src/commit/?id=453aa7fac9894945282bcf6ef55c9ebaaa1d7e40 M> M> commit 453aa7fac9894945282bcf6ef55c9ebaaa1d7e40 M> Author: Michael Tuexen <tuexen@FreeBSD.org> M> AuthorDate: 2023-02-23 01:01:53 +0000 M> Commit: Michael Tuexen <tuexen@FreeBSD.org> M> CommitDate: 2023-02-23 01:04:17 +0000 M> M> tcp: ensure the tcpcb is not NULL when logging an event M> M> When calling tcp_bblog_pru() on some error paths, tp is NULL, M> therefore handle it. I wonder when does that happen? IMHO better fix such calls than plug the problem here. -- Gleb Smirnoff