Searched hist:170405 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.2-release/sys/netinet/ | ||
H A D | tcp_hostcache.c | diff 170405 Thu Jun 07 21:41:50 MDT 2007 andre 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 |
Completed in 46 milliseconds