Commit b8435c89 authored by Eric Holmberg's avatar Eric Holmberg
Browse files

tty: n_smux: Add exponential backoff for RX buffer failures



If a client is unable to allocate a buffer for an incoming packet, the
current software retries once without a delay and then drops the packet.
This causes issues for some clients that use flip buffers for processing
RX data.

This change changes the get_rx_buffer callback failure handling to do an
exponential-backoff retry giving the client time to free up a buffer for
processing.

Change-Id: I3284824a7d5a1d8a03314eebdb4488aaf560440c
Signed-off-by: default avatarEric Holmberg <eholmber@codeaurora.org>
parent 8b9a6409
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment