summaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2011-02-03 07:22:43 +0900
committerSimon Horman <horms@verge.net.au>2011-02-03 20:45:55 +0900
commit8525d6f84f576402278a552ed17d2ba3b61f8e3c (patch)
tree49414aaf9fa144cd77d61aa3f302f8aa0a37e13d /net/netfilter/ipvs
parent9291747f118d6404e509747b85ff5f6dfec368d2 (diff)
downloadblackbird-op-linux-8525d6f84f576402278a552ed17d2ba3b61f8e3c.tar.gz
blackbird-op-linux-8525d6f84f576402278a552ed17d2ba3b61f8e3c.zip
IPVS: Use correct lock in SCTP module
Use sctp_app_lock instead of tcp_app_lock in the SCTP protocol module. This appears to be a typo introduced by the netns changes. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Diffstat (limited to 'net/netfilter/ipvs')
-rw-r--r--net/netfilter/ipvs/ip_vs_proto_sctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_proto_sctp.c b/net/netfilter/ipvs/ip_vs_proto_sctp.c
index fb2d04ac5d4e..b027ccc49f43 100644
--- a/net/netfilter/ipvs/ip_vs_proto_sctp.c
+++ b/net/netfilter/ipvs/ip_vs_proto_sctp.c
@@ -1101,7 +1101,7 @@ static void __ip_vs_sctp_init(struct net *net, struct ip_vs_proto_data *pd)
struct netns_ipvs *ipvs = net_ipvs(net);
ip_vs_init_hash_table(ipvs->sctp_apps, SCTP_APP_TAB_SIZE);
- spin_lock_init(&ipvs->tcp_app_lock);
+ spin_lock_init(&ipvs->sctp_app_lock);
pd->timeout_table = ip_vs_create_timeout_table((int *)sctp_timeouts,
sizeof(sctp_timeouts));
}
OpenPOWER on IntegriCloud