lwIP - A Lightweight TCP/IP stack - Patches: patch #5851, Use EMFILE to set errno on...
You are not allowed to post comments on this tracker with your current authentication level.
patch #5851: Use EMFILE to set errno on alloc_socket error
Submitter: | Frédéric Bernon <fbernon> | ||
Submitted: | Wed 04 Apr 2007 05:15:56 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | fbernon | Open/Closed: | Closed |
Planned Release: | None |
Thu 05 Apr 2007 04:50:12 PM UTC, comment #4: |
Frédéric Bernon <fbernon> |
Wed 04 Apr 2007 06:06:33 PM UTC, comment #3: Ok with you for ENFILE. I will commit tomorrow evening...
|
Frédéric Bernon <fbernon> |
Wed 04 Apr 2007 05:46:00 PM UTC, comment #2: ENFILE seems better since the file descriptors are gone for the whole lwip 'system' not only one thread (which I would take as the process in an embedded system).
|
Simon Goldschmidt <goldsimon> |
Wed 04 Apr 2007 05:21:18 PM UTC, comment #1: Or ENFILE (File table overflow) ? We can read in :
|
Frédéric Bernon <fbernon> |
Wed 04 Apr 2007 05:15:56 PM UTC, original submission:
When we got an error on alloc_socket (used in lwip_accept and lwip_socket), we set errno to ENOBUFS. I think EMFILE (/* Too many open files */) would be a better value to identify this kind of problem...
|
Frédéric Bernon <fbernon> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2007-04-05 | fbernon | Status | In Progress | Done | |
Open/Closed | Open | Closed | |||
2007-04-04 | fbernon | Attached File | - | Added alloc_socket.patch, #12398 | |
Status | None | In Progress |
Powered by Savane 3.13-02a9.
Corresponding source code
Check in