Summary: | src/sys/netinet/tcp_stacks/rack.c: 2 * poor error checking ? | ||
---|---|---|---|
Product: | Base System | Reporter: | David Binderman <dcb314> |
Component: | kern | Assignee: | Michael Tuexen <tuexen> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | markj, rrs, tuexen |
Priority: | Normal | Flags: | tuexen:
mfc-stable12+
|
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
David Binderman
2018-07-10 06:47:02 UTC
A patch is under review D18021. A commit references this bug: Author: tuexen Date: Wed Nov 21 18:19:16 UTC 2018 New revision: 340738 URL: https://svnweb.freebsd.org/changeset/base/340738 Log: Improve two KASSERTs in the TCP RACK stack. There are two locations where an always true comparison was made in a KASSERT. Replace this by an appropriate check and use a consistent panic message. Also use this code when checking a similar condition. PR: 229664 Reviewed by: rrs@ MFC after: 1 week Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D18021 Changes: head/sys/netinet/tcp_stacks/rack.c A commit references this bug: Author: tuexen Date: Tue Dec 4 22:05:36 UTC 2018 New revision: 341497 URL: https://svnweb.freebsd.org/changeset/base/341497 Log: MFC r340738: Improve two KASSERTs in the TCP RACK stack. There are two locations where an always true comparison was made in a KASSERT. Replace this by an appropriate check and use a consistent panic message. Also use this code when checking a similar condition. PR: 229664 Reviewed by: rrs@ MFC after: 1 week Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D18021 Changes: _U stable/12/ stable/12/sys/netinet/tcp_stacks/rack.c |