aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2013-03-22 05:46:51 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2013-04-01 18:23:56 -0400
commitba3a3ce14ea26d602b253ef13a56d540827cd51d (patch)
treedad0fd534484fc25b8215a23021cf45b0cdbe849 /include/net/ip_vs.h
parented3ffc4e48e2b03d5b23988f3cfa0ad8d79e0092 (diff)
ipvs: convert sched_lock to spin lock
As all read_locks are gone spin lock is preferred. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r--include/net/ip_vs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 4990de698576..4a7bc63b9cba 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -734,7 +734,7 @@ struct ip_vs_service {
734 734
735 /* for scheduling */ 735 /* for scheduling */
736 struct ip_vs_scheduler *scheduler; /* bound scheduler object */ 736 struct ip_vs_scheduler *scheduler; /* bound scheduler object */
737 rwlock_t sched_lock; /* lock sched_data */ 737 spinlock_t sched_lock; /* lock sched_data */
738 void *sched_data; /* scheduler application data */ 738 void *sched_data; /* scheduler application data */
739 739
740 /* alternate persistence engine */ 740 /* alternate persistence engine */