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.
#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;
        }
}
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to