summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-06-07 21:41:50 +0000
committerandre <andre@FreeBSD.org>2007-06-07 21:41:50 +0000
commit9082e6724d244378c32cb71922cc62851bed681b (patch)
treeb1cc9a6c83324c4b2db6051ef7142d36b517ef0e /sys/security
parent14724f6bf859d37f97ee639474897bf488e86986 (diff)
downloadFreeBSD-src-9082e6724d244378c32cb71922cc62851bed681b.zip
FreeBSD-src-9082e6724d244378c32cb71922cc62851bed681b.tar.gz
In tcp_hc_insert() we may have the case where we have hit the global
cache size limit but this bucket row is empty. Normally we want to recycle the oldest entry in the bucket row. If there isn't any the TAILQ_REMOVE leads to a panic by trying to remove a non-existing element. Fix this by just returning NULL and failing the insert. This is not a problem as the TCP hostache is only advisory. Submitted by: jhb
Diffstat (limited to 'sys/security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud