Skip to content
Commit c4bd6f52 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Networking: The are issues with the TCP write-ahead buffering if...

Networking:  The are issues with the TCP write-ahead buffering if CONFIG_NET_NOINTS is enabled:  There is a possibility of deadlocks in certain timing conditions.  I have not seen this with the Tiva driver that I have been users but other people claim to see the issue on other platforms.  Certainly it is a logic error:  The network should never wait for TCP read-ahead buffering space to be available.  It should drop the packets immediately.

This was fixed by duplicating most of the IOB interfaces:  The versions that waited are still present (like iob_alloc()), but now there are non-waiting verisons of the same interfaces (like iob_tryalloc()).  The TCP read-ahead logic now uses only these non-waiting interfaces.
parent 80cfc0bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment