ipvs: change ip_vs_sched_lock to mutex
authorJulian Anastasov <ja@ssi.bg>
Fri, 22 Mar 2013 09:46:36 +0000 (11:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Apr 2013 22:23:47 +0000 (00:23 +0200)
commit71dfa982f177d7b1e51e8d48b4c69da0b0e17e3c
tree6649e984de084a0347b6a8b3378557296e52ec35
parent9a05475cebdd6341884b5901e53870be26e65158
ipvs: change ip_vs_sched_lock to mutex

The global list with schedulers ip_vs_schedulers
is accessed only from user context - configuration and
scheduler module [un]registration. Use ip_vs_sched_mutex
instead.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_sched.c