6.2 SHOWSTOPPER - em completely unusable on 6.2
David G Lawrence
dg at dglawrence.com
Fri Sep 29 00:28:05 PDT 2006
Attached is a simple user program that will immediately cause pretty much
all of the network drivers (at least the ones I own) to stop working and
get watchdog timeouts.
WARNING: This program will kill the network on your 6.x server. Do not run
this on a production machine unless you are on the console and can ctrl-C
it!
-DG
David G. Lawrence
President
Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500
The FreeBSD Project - http://www.freebsd.org
Pave the road of life with opportunities.
-------------- next part --------------
#include <sys/poll.h>
main()
{
struct pollfd pfd;
pfd.fd = 1;
pfd.events = POLLOUT;
pfd.revents = 0;
while (1) {
if (poll(&pfd, 1 /* stdout */, -1) < 0)
break;
}
}
More information about the freebsd-stable
mailing list