lwIP - A Lightweight TCP/IP stack - Bugs: bug #1625, find_arp_entry() does not return...
You are not allowed to post comments on this tracker with your current authentication level.
bug #1625: find_arp_entry() does not return ARP_TABLE_SIZE when the cache is full
Submitter: | Leon Woestenberg <likewise> | ||
Submitted: | Wed 06 Nov 2002 11:41:29 AM UTC | ||
Category: | None | Severity: | 4 - Important |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | likewise |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | None |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty
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.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2002-11-09 | likewise | Open/Closed | Open | None |
Powered by Savane 3.13-758e.
Corresponding source code
If the ARP cache is full with all pending entries, it should return ARP_TABLE_SIZE instead of 0.
Bug reported by Jani Monoses <jani@iv.ro>:
If they are all pending i will be ARP_TABLE_SIZE when exiting the first "for"; then it enters the "if". So since none are stable j will remain 0, then i is assigned j, then i is returned and the first entry will be discarded by the caller.