linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] IPVS SCTP lock fix
@ 2011-02-03 11:52 Simon Horman
  2011-02-03 11:52 ` [PATCH] IPVS: Use correct lock in SCTP module Simon Horman
  2011-02-03 12:10 ` [GIT PULL] IPVS SCTP lock fix Patrick McHardy
  0 siblings, 2 replies; 3+ messages in thread
From: Simon Horman @ 2011-02-03 11:52 UTC (permalink / raw)
  To: netdev, linux-next, linux-kernel, lvs-devel; +Cc: Randy Dunlap

Hi Patrick,

please consider pulling
git://git.kernel.org/pub/scm/linux/kernel/git/horms/lvs-test-2.6.git for-patrick
which contains a single patch to the IPVS SCTP module so that
it uses the correct lock.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] IPVS: Use correct lock in SCTP module
  2011-02-03 11:52 [GIT PULL] IPVS SCTP lock fix Simon Horman
@ 2011-02-03 11:52 ` Simon Horman
  2011-02-03 12:10 ` [GIT PULL] IPVS SCTP lock fix Patrick McHardy
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2011-02-03 11:52 UTC (permalink / raw)
  To: netdev, linux-next, linux-kernel, lvs-devel
  Cc: Randy Dunlap, Simon Horman, Hans Schillstrom

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>
---
 net/netfilter/ipvs/ip_vs_proto_sctp.c |    2 +-
 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 fb2d04a..b027ccc 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));
 }
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] IPVS SCTP lock fix
  2011-02-03 11:52 [GIT PULL] IPVS SCTP lock fix Simon Horman
  2011-02-03 11:52 ` [PATCH] IPVS: Use correct lock in SCTP module Simon Horman
@ 2011-02-03 12:10 ` Patrick McHardy
  1 sibling, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2011-02-03 12:10 UTC (permalink / raw)
  To: Simon Horman; +Cc: netdev, linux-next, linux-kernel, lvs-devel, Randy Dunlap

Am 03.02.2011 12:52, schrieb Simon Horman:
> Hi Patrick,
> 
> please consider pulling
> git://git.kernel.org/pub/scm/linux/kernel/git/horms/lvs-test-2.6.git for-patrick
> which contains a single patch to the IPVS SCTP module so that
> it uses the correct lock.

Pulled, thanks Simon.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-03 12:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-03 11:52 [GIT PULL] IPVS SCTP lock fix Simon Horman
2011-02-03 11:52 ` [PATCH] IPVS: Use correct lock in SCTP module Simon Horman
2011-02-03 12:10 ` [GIT PULL] IPVS SCTP lock fix Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).