]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve two KASSERTs in the TCP RACK stack.
authorMichael Tuexen <tuexen@FreeBSD.org>
Wed, 21 Nov 2018 18:19:15 +0000 (18:19 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Wed, 21 Nov 2018 18:19:15 +0000 (18:19 +0000)
commit3bea9a2664be8585a421820a80b3cd012183e008
treec3582c49f76da30e1761da32f53202df8e4c1d28
parenteecd0a185648b6dd0f6bb0cb721d98386b13355a
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
sys/netinet/tcp_stacks/rack.c