* [NETFILTER 00/02]: Netfilter fixes
@ 2007-02-03 1:46 Patrick McHardy
2007-02-03 1:46 ` [NETFILTER 01/02]: ctnetlink: fix compile failure with NF_CONNTRACK_MARK=n Patrick McHardy
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Patrick McHardy @ 2007-02-03 1:46 UTC (permalink / raw)
To: davem; +Cc: netfilter-devel, Patrick McHardy
Hi Dave,
following are two more netfilter fixes for 2.6.20, fixing H.323 compilation with
IPV6=m and NF_CONNTRACK_H323=y (Adrian's patch) and another compile failure with
NF_CONNTRACK_MARK=n (same for IP_NF_CONNTRACK_MARK=n).
Please apply, thanks.
net/ipv4/netfilter/ip_conntrack_netlink.c | 2 ++
net/netfilter/Kconfig | 2 +-
net/netfilter/nf_conntrack_netlink.c | 2 ++
3 files changed, 5 insertions(+), 1 deletion(-)
Adrian Bunk:
[NETFILTER]: nf_conntrack_h323: fix compile error with CONFIG_IPV6=m, CONFIG_NF_CONNTRACK_H323=y
Max Kellermann:
[NETFILTER]: ctnetlink: fix compile failure with NF_CONNTRACK_MARK=n
^ permalink raw reply [flat|nested] 4+ messages in thread* [NETFILTER 01/02]: ctnetlink: fix compile failure with NF_CONNTRACK_MARK=n
2007-02-03 1:46 [NETFILTER 00/02]: Netfilter fixes Patrick McHardy
@ 2007-02-03 1:46 ` Patrick McHardy
2007-02-03 1:46 ` [NETFILTER 02/02]: nf_conntrack_h323: fix compile error with CONFIG_IPV6=m, CONFIG_NF_CONNTRACK_H323=y Patrick McHardy
2007-02-03 3:34 ` [NETFILTER 00/02]: Netfilter fixes David Miller
2 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2007-02-03 1:46 UTC (permalink / raw)
To: davem; +Cc: netfilter-devel, Patrick McHardy
[NETFILTER]: ctnetlink: fix compile failure with NF_CONNTRACK_MARK=n
CC net/netfilter/nf_conntrack_netlink.o
net/netfilter/nf_conntrack_netlink.c: In function 'ctnetlink_conntrack_event':
net/netfilter/nf_conntrack_netlink.c:392: error: 'struct nf_conn' has no member named 'mark'
make[3]: *** [net/netfilter/nf_conntrack_netlink.o] Error 1
Signed-off-by: Patrick McHardy <kaber@trash.net>
---
commit de4fee1de939b8a5422020822195dea4b25e142b
tree 0d8bdc11e791cec75d5c61ecdbdd9d26f80df9ea
parent 91ddce838eb24a62844bdfc1aaca0a364343ad02
author Max Kellermann <max@duempel.org> Fri, 02 Feb 2007 14:09:40 +0100
committer Patrick McHardy <kaber@trash.net> Fri, 02 Feb 2007 14:09:40 +0100
net/ipv4/netfilter/ip_conntrack_netlink.c | 2 ++
net/netfilter/nf_conntrack_netlink.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/net/ipv4/netfilter/ip_conntrack_netlink.c b/net/ipv4/netfilter/ip_conntrack_netlink.c
index 6f31fad..7f70b08 100644
--- a/net/ipv4/netfilter/ip_conntrack_netlink.c
+++ b/net/ipv4/netfilter/ip_conntrack_netlink.c
@@ -374,9 +374,11 @@ static int ctnetlink_conntrack_event(str
&& ctnetlink_dump_helpinfo(skb, ct) < 0)
goto nfattr_failure;
+#ifdef CONFIG_IP_NF_CONNTRACK_MARK
if ((events & IPCT_MARK || ct->mark)
&& ctnetlink_dump_mark(skb, ct) < 0)
goto nfattr_failure;
+#endif
if (events & IPCT_COUNTER_FILLING &&
(ctnetlink_dump_counters(skb, ct, IP_CT_DIR_ORIGINAL) < 0 ||
diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c
index 811e3e7..c64f029 100644
--- a/net/netfilter/nf_conntrack_netlink.c
+++ b/net/netfilter/nf_conntrack_netlink.c
@@ -389,9 +389,11 @@ static int ctnetlink_conntrack_event(str
&& ctnetlink_dump_helpinfo(skb, ct) < 0)
goto nfattr_failure;
+#ifdef CONFIG_NF_CONNTRACK_MARK
if ((events & IPCT_MARK || ct->mark)
&& ctnetlink_dump_mark(skb, ct) < 0)
goto nfattr_failure;
+#endif
if (events & IPCT_COUNTER_FILLING &&
(ctnetlink_dump_counters(skb, ct, IP_CT_DIR_ORIGINAL) < 0 ||
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [NETFILTER 02/02]: nf_conntrack_h323: fix compile error with CONFIG_IPV6=m, CONFIG_NF_CONNTRACK_H323=y
2007-02-03 1:46 [NETFILTER 00/02]: Netfilter fixes Patrick McHardy
2007-02-03 1:46 ` [NETFILTER 01/02]: ctnetlink: fix compile failure with NF_CONNTRACK_MARK=n Patrick McHardy
@ 2007-02-03 1:46 ` Patrick McHardy
2007-02-03 3:34 ` [NETFILTER 00/02]: Netfilter fixes David Miller
2 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2007-02-03 1:46 UTC (permalink / raw)
To: davem; +Cc: netfilter-devel, Patrick McHardy
[NETFILTER]: nf_conntrack_h323: fix compile error with CONFIG_IPV6=m, CONFIG_NF_CONNTRACK_H323=y
Fix this by letting NF_CONNTRACK_H323 depend on (IPV6 || IPV6=n).
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
commit c204236dae38644133e5713d59d81e3e0abac384
tree eda435df6adf784f5778c988e4cffe5ce328673e
parent de4fee1de939b8a5422020822195dea4b25e142b
author Adrian Bunk <bunk@stusta.de> Sat, 03 Feb 2007 02:28:44 +0100
committer Patrick McHardy <kaber@trash.net> Sat, 03 Feb 2007 02:28:44 +0100
net/netfilter/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index 2a2bcb3..80107d4 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -165,7 +165,7 @@ config NF_CONNTRACK_FTP
config NF_CONNTRACK_H323
tristate "H.323 protocol support (EXPERIMENTAL)"
- depends on EXPERIMENTAL && NF_CONNTRACK
+ depends on EXPERIMENTAL && NF_CONNTRACK && (IPV6 || IPV6=n)
help
H.323 is a VoIP signalling protocol from ITU-T. As one of the most
important VoIP protocols, it is widely used by voice hardware and
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [NETFILTER 00/02]: Netfilter fixes
2007-02-03 1:46 [NETFILTER 00/02]: Netfilter fixes Patrick McHardy
2007-02-03 1:46 ` [NETFILTER 01/02]: ctnetlink: fix compile failure with NF_CONNTRACK_MARK=n Patrick McHardy
2007-02-03 1:46 ` [NETFILTER 02/02]: nf_conntrack_h323: fix compile error with CONFIG_IPV6=m, CONFIG_NF_CONNTRACK_H323=y Patrick McHardy
@ 2007-02-03 3:34 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2007-02-03 3:34 UTC (permalink / raw)
To: kaber; +Cc: netfilter-devel
From: Patrick McHardy <kaber@trash.net>
Date: Sat, 3 Feb 2007 02:46:22 +0100 (MET)
> Hi Dave,
>
> following are two more netfilter fixes for 2.6.20, fixing H.323 compilation with
> IPV6=m and NF_CONNTRACK_H323=y (Adrian's patch) and another compile failure with
> NF_CONNTRACK_MARK=n (same for IP_NF_CONNTRACK_MARK=n).
>
> Please apply, thanks.
Applied, thanks Patrick.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-03 3:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-03 1:46 [NETFILTER 00/02]: Netfilter fixes Patrick McHardy
2007-02-03 1:46 ` [NETFILTER 01/02]: ctnetlink: fix compile failure with NF_CONNTRACK_MARK=n Patrick McHardy
2007-02-03 1:46 ` [NETFILTER 02/02]: nf_conntrack_h323: fix compile error with CONFIG_IPV6=m, CONFIG_NF_CONNTRACK_H323=y Patrick McHardy
2007-02-03 3:34 ` [NETFILTER 00/02]: Netfilter fixes David Miller
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).