diff options
| author | Parthasarathy Bhuvaragan <[email protected]> | 2016-11-01 14:02:34 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-01 11:53:23 -0400 |
| commit | 7cf87fa27873a954f2d665dfc61fc22227d96ad8 (patch) | |
| tree | 74d947199ea10ad77ec946f1d5e69ca5702f1fb3 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 169650d3eaf1ef0604ac31ba39f2ea21a8d9b2cb (diff) | |
tipc: return early for non-blocking sockets at link congestion
Until now, in stream/mcast send() we pass the message to the link
layer even when the link is congested and add the socket to the
link's wakeup queue. This is unnecessary for non-blocking sockets.
If a socket is set to non-blocking and sends multicast with zero
back off time while receiving EAGAIN, we exhaust the memory.
In this commit, we return immediately at stream/mcast send() for
non-blocking sockets.
Acked-by: Jon Maloy <[email protected]>
Signed-off-by: Parthasarathy Bhuvaragan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions