summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2023-10-11 14:01:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-18 10:01:33 +0200
commitee5cb39348e69a61a865801970ba8fdc399335de (patch)
treee03ca131dcd86a408a826be90a1d8237c2743e25 /net/lapb/lapb_timer.c
parentcf439721f66719c6aa73b5ea23320c2f8cba100f (diff)
mei: pxp: recover from recv fail under memory pressure
Under memory pressure recv fails due to kmalloc failure, and if drivers(pxp) retry send/receive, send blocks indefinitely. Send without recv leaves the channel in a bad state. Retry send attempt after small timeout and reset the channel if the retry failed on kmalloc failure too. Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Link: https://lore.kernel.org/r/20231011110157.247552-3-tomas.winkler@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions