From d5241e70cdc99093a932a43dfceb6a52b94ce5c0 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Sat, 13 Apr 2013 13:18:07 -0700 Subject: [PATCH] rdma_cm: Detect recursive calls to rdma_seterrno() If rdma_seterrno() is called in a recursive fashion, the result is that errno ends up set to -1. Fix the original occurrence of where this occurs and update rdma_seterrno() to avoid it modifying errno incorrectly. Problem reported by hookenz@gmail.com. Signed-off-by: Sean Hefty -- 2.41.0