Bug 60318
Summary: | ether_input() does things in wrong order in eCos | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] eCos | Reporter: | Martin Buck <martin.buck> | ||||
Component: | TCPIP | Assignee: | eCos bugs internal list <es-ecos-bugs-int> | ||||
Status: | CLOSED WONTFIX | QA Contact: | eCos bugs internal list <es-ecos-bugs-int> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.5.2 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-06-20 16:13:49 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Martin Buck
2002-02-25 15:16:29 UTC
Created attachment 46601 [details]
Patch that fixes ether_input() bug
I understand the problem, but since this only is a problem in somewhat special circumstances, would it not be better simply to lock the scheduler around the call to ether_input() in your application? But that might spoil latency for other operations... Therefore I'll apply the patch you sent - thanks! Right, ether_input() can potentially do a lot (especially when the Ethernet bridge is involved) and I wouldn't want to have the scheduler locked during the whole time. Also, I spent quite some time to understand and find the problem. If somebody ever wants to implement another Ethernet-like driver running in a normal thread in the future (which might not be that uncommon in a RTOS), he shouldn't have to do the same again. This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=60318 |