summaryrefslogtreecommitdiffstats
path: root/mm/memtest.c
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2017-03-03 15:41:38 -0800
committerSteve French <smfrench@gmail.com>2017-04-07 08:04:40 -0500
commit38bd49064a1ecb67baad33598e3d824448ab11ec (patch)
treedd922c0d30ddffd7e0bda9e53ddca5165c1afb84 /mm/memtest.c
parent269c930e6698e6afa6d4606bfd241f4497597e79 (diff)
downloadblackbird-obmc-linux-38bd49064a1ecb67baad33598e3d824448ab11ec.tar.gz
blackbird-obmc-linux-38bd49064a1ecb67baad33598e3d824448ab11ec.zip
Handle mismatched open calls
A signal can interrupt a SendReceive call which result in incoming responses to the call being ignored. This is a problem for calls such as open which results in the successful response being ignored. This results in an open file resource on the server. The patch looks into responses which were cancelled after being sent and in case of successful open closes the open fids. For this patch, the check is only done in SendReceive2() RH-bz: 1403319 Signed-off-by: Sachin Prabhu <sprabhu@redhat.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com> Cc: Stable <stable@vger.kernel.org>
Diffstat (limited to 'mm/memtest.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud