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:Eric Holmberg <eholmber@codeaurora.org> Signed-off-by:
David Brown <davidb@codeaurora.org>
Loading
Please register or sign in to comment