Subject: kern/29325: frequent incoming packets lock up machine
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 02/10/2005 13:24:00
>Number:         29325
>Category:       kern
>Synopsis:       frequent incoming packets lock up machine
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 10 13:24:00 +0000 2005
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 2.99.14
>Organization:

>Environment:
	
	
System: NetBSD kaeru 2.99.14 NetBSD 2.99.14 (build.kaeru) #190: Thu Feb 10 18:54:51 JST 2005 takashi@kaeru:/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
	if packets arrive more frequently than a host can processes,
	the host locks up.  eg. ipintr() never finishes and no threads can run.
>How-To-Repeat:
	send packets to a host frequently enough.
>Fix:
	once the condition is detected,
	- discard packets affirmatively
	and/or
	- move input processing to some thread context so that
	it can yield cpu?

>Unformatted: