summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-09-12 19:23:48 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-10-03 13:55:29 +0200
commitd1e945fdd994b40adc1ae5325bd89cbac355e68f (patch)
tree941312a01c0bb6db02ca0818f71f1a2c7f98f49f /po
parent7f95c302ccb11a24732723f2bc4c4d4ee1b0a4f9 (diff)
downloadsssd-d1e945fdd994b40adc1ae5325bd89cbac355e68f.tar.gz
sssd-d1e945fdd994b40adc1ae5325bd89cbac355e68f.tar.xz
sssd-d1e945fdd994b40adc1ae5325bd89cbac355e68f.zip
FO: Check server validity before setting status
The list of resolved servers is allocated on the back end context and kept in the fo_service structure. However, a single request often resolves a server and keeps a pointer until the end of a request and only then gives feedback about the server based on the request result. This presents a big race condition in case the SRV resolution is used. When there are requests coming in in parallel, it is possible that an incoming request will invalidate a server until another request that holds a pointer to the original server is able to give a feedback. This patch simply checks if a server is in the list of servers maintained by a service before reading its status. https://fedorahosted.org/sssd/ticket/1364
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions