* [GIT PULL nf-2.6] IPVS
@ 2011-07-22 0:18 Simon Horman
2011-07-22 0:18 ` [PATCH] IPVS: Free resources on module removal Simon Horman
2011-07-29 0:12 ` [GIT PULL nf-2.6] IPVS Simon Horman
0 siblings, 2 replies; 6+ messages in thread
From: Simon Horman @ 2011-07-22 0:18 UTC (permalink / raw)
To: lvs-devel, netdev, netfilter-devel, netfilter
Cc: Wensong Zhang, Julian Anastasov, Patrick McHardy,
Pablo Neira Ayuso, Dave Jones, Randy Dunlap, Huajun Li
Hi Pablo, Hi Patrick,
please consider pulling
git://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs-2.6.git master
to get the following crash on module removal fix for IPVS.
Sorry for sending this so very, very late in the release cycle.
I had sent it earlier but it seems to have slipped through the cracks
somehow.
Simon Horman (1):
IPVS: Free resources on module removal
net/netfilter/ipvs/ip_vs_ctl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] IPVS: Free resources on module removal
2011-07-22 0:18 [GIT PULL nf-2.6] IPVS Simon Horman
@ 2011-07-22 0:18 ` Simon Horman
2011-07-29 0:12 ` [GIT PULL nf-2.6] IPVS Simon Horman
1 sibling, 0 replies; 6+ messages in thread
From: Simon Horman @ 2011-07-22 0:18 UTC (permalink / raw)
To: lvs-devel, netdev, netfilter-devel, netfilter
Cc: Wensong Zhang, Julian Anastasov, Patrick McHardy,
Pablo Neira Ayuso, Dave Jones, Randy Dunlap, Huajun Li,
Simon Horman, Hans Schillstrom
This resolves a panic on module removal.
Reported-by: Dave Jones <davej@redhat.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
---
net/netfilter/ipvs/ip_vs_ctl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c
index 699c79a..a178cb3 100644
--- a/net/netfilter/ipvs/ip_vs_ctl.c
+++ b/net/netfilter/ipvs/ip_vs_ctl.c
@@ -3771,6 +3771,7 @@ err_sock:
void ip_vs_control_cleanup(void)
{
EnterFunction(2);
+ unregister_netdevice_notifier(&ip_vs_dst_notifier);
ip_vs_genl_unregister();
nf_unregister_sockopt(&ip_vs_sockopts);
LeaveFunction(2);
--
1.7.5.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [GIT PULL nf-2.6] IPVS
2011-07-22 0:18 [GIT PULL nf-2.6] IPVS Simon Horman
2011-07-22 0:18 ` [PATCH] IPVS: Free resources on module removal Simon Horman
@ 2011-07-29 0:12 ` Simon Horman
2011-07-29 1:39 ` David Miller
1 sibling, 1 reply; 6+ messages in thread
From: Simon Horman @ 2011-07-29 0:12 UTC (permalink / raw)
To: lvs-devel, netdev, netfilter-devel, netfilter
Cc: Wensong Zhang, Julian Anastasov, Patrick McHardy,
Pablo Neira Ayuso, Dave Jones, Randy Dunlap, Huajun Li,
David S. Miller
On Fri, Jul 22, 2011 at 09:18:39AM +0900, Simon Horman wrote:
> Hi Pablo, Hi Patrick,
>
> please consider pulling
>
> git://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs-2.6.git master
>
> to get the following crash on module removal fix for IPVS.
>
> Sorry for sending this so very, very late in the release cycle.
> I had sent it earlier but it seems to have slipped through the cracks
> somehow.
>
> Simon Horman (1):
> IPVS: Free resources on module removal
>
> net/netfilter/ipvs/ip_vs_ctl.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Ping.
What is the best way forward to get this both in 3.1 and 3.0 -stable?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL nf-2.6] IPVS
2011-07-29 0:12 ` [GIT PULL nf-2.6] IPVS Simon Horman
@ 2011-07-29 1:39 ` David Miller
2011-07-29 14:26 ` Patrick McHardy
0 siblings, 1 reply; 6+ messages in thread
From: David Miller @ 2011-07-29 1:39 UTC (permalink / raw)
To: horms
Cc: lvs-devel, netdev, netfilter-devel, netfilter, wensong, ja, kaber,
pablo, davej, rdunlap, huajun.li.lee, davem
From: Simon Horman <horms@verge.net.au>
Date: Fri, 29 Jul 2011 09:12:06 +0900
> What is the best way forward to get this both in 3.1 and 3.0 -stable?
I'll take this directly and do the -stable submission too.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL nf-2.6] IPVS
2011-07-29 1:39 ` David Miller
@ 2011-07-29 14:26 ` Patrick McHardy
0 siblings, 0 replies; 6+ messages in thread
From: Patrick McHardy @ 2011-07-29 14:26 UTC (permalink / raw)
To: David Miller
Cc: horms, lvs-devel, netdev, netfilter-devel, netfilter, wensong, ja,
pablo, davej, rdunlap, huajun.li.lee, davem
On 29.07.2011 03:39, David Miller wrote:
> From: Simon Horman <horms@verge.net.au>
> Date: Fri, 29 Jul 2011 09:12:06 +0900
>
>> What is the best way forward to get this both in 3.1 and 3.0 -stable?
>
> I'll take this directly and do the -stable submission too.
>
Sorry, I seem to have missed this, also can't find the email in my
inbox for some reason. Anyways, generally please do the stable
submissions for IPVS yourself (after the patch went upstream of
course).
^ permalink raw reply [flat|nested] 6+ messages in thread
* [GIT PULL nf-2.6] IPVS
@ 2011-05-19 12:32 Simon Horman
2011-05-19 12:32 ` [PATCH] IPVS: Free resources on module removal Simon Horman
0 siblings, 1 reply; 6+ messages in thread
From: Simon Horman @ 2011-05-19 12:32 UTC (permalink / raw)
To: lvs-devel, netdev, netfilter-devel, netfilter
Cc: Wensong Zhang, Julian Anastasov, Patrick McHardy,
Hans Schillstrom, Dave Jones, Pablo Neira Ayuso
Hi Pablo, Hi Patrick,
please consider pulling
git://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs-2.6.git master
to get the following fix for IPVS.
I have based my tree on net-2.6 as it contains all of the IPVS patches -
currently some are in Patrick's tree and one of them is in Pablo's tree but
all of them are in Dave's tree.
Please feel free to apply the patch manually if that suits you better.
Simon Horman (1):
IPVS: Free resources on module removal
net/netfilter/ipvs/ip_vs_ctl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] IPVS: Free resources on module removal
2011-05-19 12:32 Simon Horman
@ 2011-05-19 12:32 ` Simon Horman
0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2011-05-19 12:32 UTC (permalink / raw)
To: lvs-devel, netdev, netfilter-devel, netfilter
Cc: Wensong Zhang, Julian Anastasov, Patrick McHardy,
Hans Schillstrom, Dave Jones, Pablo Neira Ayuso, Simon Horman
Reported-by: Dave Jones <davej@redhat.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
---
net/netfilter/ipvs/ip_vs_ctl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c
index 37890f2..9b9039b 100644
--- a/net/netfilter/ipvs/ip_vs_ctl.c
+++ b/net/netfilter/ipvs/ip_vs_ctl.c
@@ -3774,6 +3774,7 @@ err_sock:
void ip_vs_control_cleanup(void)
{
EnterFunction(2);
+ unregister_netdevice_notifier(&ip_vs_dst_notifier);
ip_vs_genl_unregister();
nf_unregister_sockopt(&ip_vs_sockopts);
LeaveFunction(2);
--
1.7.4.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-07-29 14:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 0:18 [GIT PULL nf-2.6] IPVS Simon Horman
2011-07-22 0:18 ` [PATCH] IPVS: Free resources on module removal Simon Horman
2011-07-29 0:12 ` [GIT PULL nf-2.6] IPVS Simon Horman
2011-07-29 1:39 ` David Miller
2011-07-29 14:26 ` Patrick McHardy
-- strict thread matches above, loose matches on Subject: below --
2011-05-19 12:32 Simon Horman
2011-05-19 12:32 ` [PATCH] IPVS: Free resources on module removal Simon Horman
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).