Deleted Added
full compact
104c104
< __FBSDID("$FreeBSD: head/sys/kern/uipc_socket.c 243627 2012-11-27 20:04:52Z andre $");
---
> __FBSDID("$FreeBSD: head/sys/kern/uipc_socket.c 243631 2012-11-27 21:19:58Z andre $");
293c293
< maxsockets = imax(maxsockets, imax(maxfiles, nmbclusters));
---
> maxsockets = imax(maxsockets, maxfiles);
309c309,310
< if (newmaxsockets > maxsockets) {
---
> if (newmaxsockets > maxsockets &&
> newmaxsockets <= maxfiles) {
311,314d311
< if (maxsockets > ((maxfiles / 4) * 3)) {
< maxfiles = (maxsockets * 5) / 4;
< maxfilesperproc = (maxfiles * 9) / 10;
< }