]> CyberLeo.Net >> Repos - FreeBSD/stable/9.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)
commit7ed890b9ef110f4855e6e43368e4d434a27d2810
tree6065ef77b30cbebb01a457a203ec7ddde9ca901a
parent63ed77af06c69de4343dac349b06c3b329350bb7
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/9@278534 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/tcp_hostcache.c