HomeFreeBSD

TCP syncache: enhance KASSERT output

Description

TCP syncache: enhance KASSERT output

Improve the "syncache: mbuf too small" assertion message with various
variables (some not actually needed) but enough that it will be obvious
if (a) we use IPv4 or IPv6, (b) if UDP tunneling is on, (c) what
max_linkhdr is, and (d) what MHLEN is.

This should help diagnostics in the future.
The case was hit with wireless drivers setting a large ic_headroom
and using IPv6.

Reviewed by: gallatin, tuexen, rscheff
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D34217

Details

Provenance
bzAuthored on Feb 8 2022, 11:47 PM
Reviewer
gallatin
Differential Revision
D34217: TCP syncache: enhance some KASSERT output
Parents
rGec042f46e9bb: Add support for module_verbose
Branches
Unknown
Tags
Unknown