diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2018-03-09 22:48:33 +0100 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-03-20 10:59:57 +0000 |
commit | 2bb0623cfbeca29264a1b8102c738851fa0d9202 (patch) | |
tree | a2adc31ef32a1294443ea66cdebe7147440749d3 /glusterfsd/src/Makefile.am | |
parent | a644d52a4fe000827020b28736062a54c9a91b44 (diff) |
protocol/client: fix memory corruption
There was an issue when some accesses to saved_fds list were
protected by the wrong mutex (lock instead of fd_lock).
Additionally, the retrieval of fdctx from fd's context and any
checks done on it have also been protected by fd_lock to avoid
fdctx to become outdated just after retrieving it.
Backport of:
> BUG: 1553129
Change-Id: If2910508bcb7d1ff23debb30291391f00903a6fe
BUG: 1554235
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'glusterfsd/src/Makefile.am')
0 files changed, 0 insertions, 0 deletions