]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r344428:
authorMichael Tuexen <tuexen@FreeBSD.org>
Mon, 25 Feb 2019 12:35:52 +0000 (12:35 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Mon, 25 Feb 2019 12:35:52 +0000 (12:35 +0000)
commit2e806c197f887516904ce1db620f422d2938f441
tree822a38ee9a48643632046ea6bc585a0299cce63c
parent1aba6bcaba156348ccdbebe0786fb4c69977cb07
MFC r344428:

This patch addresses an issue brought up by bz@ in D18968:
When TCP_REASS_LOGGING is defined, a NULL pointer dereference would happen,
if user data was received during the TCP handshake and BB logging is used.

A KASSERT is also added to detect tcp_reass() calls with illegal parameter
combinations.

Reported by: bz@
Reviewed by: rrs@
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D19254
sys/netinet/tcp_reass.c