This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1000347] New: FreeBSD Network Thread misses incoming packet enque in ether_demux
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Fri, 1 Dec 2006 09:50:07 +0000 (GMT)
- Subject: [Bug 1000347] New: FreeBSD Network Thread misses incoming packet enque in ether_demux
http://bugzilla.ecoscentric.com/show_bug.cgi?id=1000347
Summary: FreeBSD Network Thread misses incoming packet enque in
ether_demux
Product: eCos
Version: unknown
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: high
Component: TCPIP
AssignedTo: gary@mlbassoc.com
ReportedBy: bugzilla_rmvthis@ds3switch.com
QAContact: ecos-bugs@sources.redhat.com
If the priority of the ethernet driver thread is lower (higher #) than the FreeBSD Network Thread, then the Network Thread can get prematurely woken up to process an incoming ethernet pkt before the packet is fully enqued. Specifically:
if_ethersubr:ether_demux() calls schednetisr() (which wakes up network thread) prior to the pkt being enqued with that call to IF_ENQUEUE().
This might not be obvious because a subsequent incoming packet can (partially) process the queue.
--
Configure bugmail: http://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.