diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2008-08-19 08:16:19 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-08-19 17:37:08 +1000 |
commit | f728bafb5698076dd35bca35ee6cfe52ea1b8ab2 (patch) | |
tree | 01908a5f303267248b12578c507c3bcd2946e628 /net/ipv4/ipvs/ip_vs_proto_udp.c | |
parent | 39ac50d0c79747b186c1268d9a488f8c1d256be7 (diff) |
ipvs: Fix race conditions in lblcr scheduler
We can't access the cache entry outside of our critical read-locked region,
because someone may free that entry. Also getting an entry under read lock,
then locking for write and trying to delete that entry looks fishy, but should
be no problem here, because we're only comparing a pointer. Also there is no
need for our own rwlock, there is already one in the service structure for use
in the schedulers.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/ipv4/ipvs/ip_vs_proto_udp.c')
0 files changed, 0 insertions, 0 deletions