Thanks! I like this approach. I've added a few comments about potential enhancements.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Fri, Jun 21
Fri, Jun 21
Fri, May 31
Fri, May 31
In D45411#1036082, @tuexen wrote:In D45411#1035980, @jtl wrote:Should we check for TCP_FUNC_BEING_REMOVED?
I thought about this and did again after you raised the question. The original code didn't.
...
However, since we don't hold the tcp_function_lock, the tfb can be removed any time before or after we set the TCP function block in tcp_newtcpcb. It cannot go away, since we hold a reference count. I guess that is the reason why there was no check...
Can you give a brief explanation of the problem this is supposed to solve?
Thu, May 30
Thu, May 30
Should we check for TCP_FUNC_BEING_REMOVED?