From: Sean Hefty Date: Wed, 11 Feb 2015 00:50:08 +0000 (-0800) Subject: rsocket: Fix race in indexer map X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f4729165ed3410e5921d535f62db180c8012e6d7;p=~shefty%2Flibrdmacm.git rsocket: Fix race in indexer map Although insertions and removals of rsockets are protected against accesses to the index map, when reading the map using a non-rsocket (i.e. normal fd), the reading of the map may overlap with the removal of an rsocket. This can result in accessing freed memory. Problem reported by: Sasha Kotchubievsky Signed-off-by: Sean Hefty ---