* Missed any patches?
@ 2005-06-11 16:46 Patrick McHardy
2005-06-11 17:07 ` Missed any patches? [PATCH] expectation timeouts Phil Oester
0 siblings, 1 reply; 8+ messages in thread
From: Patrick McHardy @ 2005-06-11 16:46 UTC (permalink / raw)
To: Netfilter Development Mailinglist
I've applied everything on the list I could find, if I missed
anything please resend now. Thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Missed any patches? [PATCH] expectation timeouts
2005-06-11 16:46 Missed any patches? Patrick McHardy
@ 2005-06-11 17:07 ` Phil Oester
2005-06-11 17:10 ` Patrick McHardy
0 siblings, 1 reply; 8+ messages in thread
From: Phil Oester @ 2005-06-11 17:07 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Netfilter Development Mailinglist
[-- Attachment #1: Type: text/plain, Size: 442 bytes --]
On Sat, Jun 11, 2005 at 06:46:47PM +0200, Patrick McHardy wrote:
> I've applied everything on the list I could find, if I missed
> anything please resend now. Thanks.
Here's one
Since expectation timeouts were made compulsory [1], there is no need to
check for them in ip_conntrack_expect_insert.
Phil
[1] https://lists.netfilter.org/pipermail/netfilter-devel/2005-January/018143.html
Signed-off-by: Phil Oester <kernel@linuxace.com>
[-- Attachment #2: patch-exptimeout --]
[-- Type: text/plain, Size: 958 bytes --]
diff -ruN linux-orig/net/ipv4/netfilter/ip_conntrack_core.c linux-new/net/ipv4/netfilter/ip_conntrack_core.c
--- linux-orig/net/ipv4/netfilter/ip_conntrack_core.c 2005-03-02 02:37:30.000000000 -0500
+++ linux-new/net/ipv4/netfilter/ip_conntrack_core.c 2005-05-19 10:18:04.041146160 -0400
@@ -760,15 +760,11 @@
exp->master->expecting++;
list_add(&exp->list, &ip_conntrack_expect_list);
- if (exp->master->helper->timeout) {
- init_timer(&exp->timeout);
- exp->timeout.data = (unsigned long)exp;
- exp->timeout.function = expectation_timed_out;
- exp->timeout.expires
- = jiffies + exp->master->helper->timeout * HZ;
- add_timer(&exp->timeout);
- } else
- exp->timeout.function = NULL;
+ init_timer(&exp->timeout);
+ exp->timeout.data = (unsigned long)exp;
+ exp->timeout.function = expectation_timed_out;
+ exp->timeout.expires = jiffies + exp->master->helper->timeout * HZ;
+ add_timer(&exp->timeout);
CONNTRACK_STAT_INC(expect_create);
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Missed any patches? [PATCH] expectation timeouts
2005-06-11 17:07 ` Missed any patches? [PATCH] expectation timeouts Phil Oester
@ 2005-06-11 17:10 ` Patrick McHardy
2005-06-11 17:14 ` Jan Engelhardt
0 siblings, 1 reply; 8+ messages in thread
From: Patrick McHardy @ 2005-06-11 17:10 UTC (permalink / raw)
To: Phil Oester; +Cc: Netfilter Development Mailinglist
Phil Oester wrote:
> Since expectation timeouts were made compulsory [1], there is no need to
> check for them in ip_conntrack_expect_insert.
Thanks, I just found it and am about to apply it to my 2.6.13 tree.
Regards
Patrick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Missed any patches? [PATCH] expectation timeouts
2005-06-11 17:10 ` Patrick McHardy
@ 2005-06-11 17:14 ` Jan Engelhardt
2005-06-11 17:20 ` Patrick McHardy
0 siblings, 1 reply; 8+ messages in thread
From: Jan Engelhardt @ 2005-06-11 17:14 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Netfilter Development Mailinglist
>> Since expectation timeouts were made compulsory [1], there is no need to
>> check for them in ip_conntrack_expect_insert.
>
>Thanks, I just found it and am about to apply it to my 2.6.13 tree.
Is there any chance that all of POMng will get updated? Most of the patches
still address a 2.6.<10 kernel. I have not tested if they apply correctly (I
don't need them ... yet), but if they don't, rediff could be wise.
CHS,
Jan Engelhardt
--
| Gesellschaft fuer Wissenschaftliche Datenverarbeitung Goettingen,
| Am Fassberg, 37077 Goettingen, www.gwdg.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Missed any patches? [PATCH] expectation timeouts
2005-06-11 17:14 ` Jan Engelhardt
@ 2005-06-11 17:20 ` Patrick McHardy
2005-06-11 17:23 ` Jan Engelhardt
0 siblings, 1 reply; 8+ messages in thread
From: Patrick McHardy @ 2005-06-11 17:20 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Netfilter Development Mailinglist
Jan Engelhardt wrote:
> Is there any chance that all of POMng will get updated? Most of the patches
> still address a 2.6.<10 kernel. I have not tested if they apply correctly (I
> don't need them ... yet), but if they don't, rediff could be wise.
Updated how? Which patches are you talking about?
Regards
Patrick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Missed any patches? [PATCH] expectation timeouts
2005-06-11 17:20 ` Patrick McHardy
@ 2005-06-11 17:23 ` Jan Engelhardt
2005-06-11 17:29 ` Patrick McHardy
2005-06-13 12:05 ` Carl-Daniel Hailfinger
0 siblings, 2 replies; 8+ messages in thread
From: Jan Engelhardt @ 2005-06-11 17:23 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Netfilter Development Mailinglist
>> Is there any chance that all of POMng will get updated? Most of the patches
>> still address a 2.6.<10 kernel. I have not tested if they apply correctly (I
>> don't need them ... yet), but if they don't, rediff could be wise.
>
>Updated how? Which patches are you talking about?
Heh, you got me.
NAT reservations, for example, cannot be applied to a 2.6.11, because the
expect code changed.
The ACCOUNT directory in today's (well, yesterday 20050610) POMng tree has a
linux.patch with this header:
--- kernel-2.4.25/include/linux/netfilter_ipv4/ip_tables.h Mon Apr 12
Not exactly 2.6.x at all :)
Jan Engelhardt
--
| Gesellschaft fuer Wissenschaftliche Datenverarbeitung Goettingen,
| Am Fassberg, 37077 Goettingen, www.gwdg.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Missed any patches? [PATCH] expectation timeouts
2005-06-11 17:23 ` Jan Engelhardt
@ 2005-06-11 17:29 ` Patrick McHardy
2005-06-13 12:05 ` Carl-Daniel Hailfinger
1 sibling, 0 replies; 8+ messages in thread
From: Patrick McHardy @ 2005-06-11 17:29 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Netfilter Development Mailinglist
Jan Engelhardt wrote:
> NAT reservations, for example, cannot be applied to a 2.6.11, because the
> expect code changed.
>
> The ACCOUNT directory in today's (well, yesterday 20050610) POMng tree has a
> linux.patch with this header:
> --- kernel-2.4.25/include/linux/netfilter_ipv4/ip_tables.h Mon Apr 12
> Not exactly 2.6.x at all :)
Harald was working on porting connection tracking and NAT helpers to
2.6.11. For the other patches you have to talk to their authors
or hope for someone else to do it.
Regards
Patrick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Missed any patches? [PATCH] expectation timeouts
2005-06-11 17:23 ` Jan Engelhardt
2005-06-11 17:29 ` Patrick McHardy
@ 2005-06-13 12:05 ` Carl-Daniel Hailfinger
1 sibling, 0 replies; 8+ messages in thread
From: Carl-Daniel Hailfinger @ 2005-06-13 12:05 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Netfilter Development Mailinglist, Patrick McHardy
Jan Engelhardt schrieb:
>>>Is there any chance that all of POMng will get updated? Most of the patches
>>>still address a 2.6.<10 kernel. I have not tested if they apply correctly (I
>>>don't need them ... yet), but if they don't, rediff could be wise.
>>
>>Updated how? Which patches are you talking about?
>
> The ACCOUNT directory in today's (well, yesterday 20050610) POMng tree has a
> linux.patch with this header:
> --- kernel-2.4.25/include/linux/netfilter_ipv4/ip_tables.h Mon Apr 12
> Not exactly 2.6.x at all :)
I have a 2.6 version, but it has to be cleaned up a bit. Will send it
upstream at the end of this week.
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-06-13 12:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-11 16:46 Missed any patches? Patrick McHardy
2005-06-11 17:07 ` Missed any patches? [PATCH] expectation timeouts Phil Oester
2005-06-11 17:10 ` Patrick McHardy
2005-06-11 17:14 ` Jan Engelhardt
2005-06-11 17:20 ` Patrick McHardy
2005-06-11 17:23 ` Jan Engelhardt
2005-06-11 17:29 ` Patrick McHardy
2005-06-13 12:05 ` Carl-Daniel Hailfinger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.