lwIP - A Lightweight TCP/IP stack - Patches: patch #9601, introduce LWIP_TCP_MAX_TW_BUCKETS...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9601: introduce LWIP_TCP_MAX_TW_BUCKETS to limit timewait socket
Submitter: | Jin-Seong Kim <jseong> | ||
Submitted: | Fri 16 Mar 2018 04:44:12 AM UTC | ||
Category: | TCP | Priority: | 5 - Normal |
Status: | Wont Do | Privacy: | Public |
Assigned to: | goldsimon | Open/Closed: | Closed |
Planned Release: | None |
Wed 21 Mar 2018 08:15:01 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
Fri 16 Mar 2018 04:44:12 AM UTC, original submission:
|
Jin-Seong Kim <jseong> |
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 |
---|---|---|---|---|---|
2018-03-21 | goldsimon | Status | None | Wont Do | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
2018-03-16 | jseong | Attached File | - | Added 0001-introduce-LWIP_TCP_MAX_TW_BUCKETS-to-limit-timewait-.patch, #43566 |
Powered by Savane 3.13-d3ae.
Corresponding source code
A tcp_pcb is allocated by (inderectly) calling 'tcp_alloc()'. The first thing this function will do if allocation fails is to kill a pcb in time-wait state.
If that doesn't work, let's debug it instead of adding more config options.
Also, a pcb in time-wait should not have any segments, pbufs or callbacks attached, so it should only consume one tcp_pcb from the pool.