]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 277709:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 Feb 2015 21:41:56 +0000 (21:41 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 Feb 2015 21:41:56 +0000 (21:41 +0000)
commitc792ed824d3c969be214eae26a66a385d0b5c73f
tree478eb38e853e97773e566f1e4cde4930550ed72d
parentb4402deadd5f8a7078a5cb224a3386ed4588b3d5
MFC 277709:
Use an sbuf to generate the output of the net.inet.tcp.hostcache.list
sysctl to avoid a possible buffer overflow if the cache grows while the
text is being generated.

PR: 172675

git-svn-id: svn://svn.freebsd.org/base/stable/10@278534 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/tcp_hostcache.c