Re: [bug] build failure in net/netfilter/nf_conntrack_sip.c, onlatest -git

From: Ingo Molnar
Date: Sat Apr 19 2008 - 06:42:22 EST



* David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Ingo Molnar <mingo@xxxxxxx>
> Date: Sat, 19 Apr 2008 12:00:35 +0200
>
> [ netfilter-devel and netdev added to CC: ]
>
> > randconfig testing found a netfilter build failure in latest -git:
> >
> > net/netfilter/nf_conntrack_sip.c: In function 'set_expected_rtp_rtcp':
> > net/netfilter/nf_conntrack_sip.c:786: error: 'struct nf_conntrack_expect' has no member named 'saved_ip'
> >
> > http://redhat.com/~mingo/misc/config-Sat_Apr_19_11_37_02_CEST_2008.bad
> >
> > disabling CONFIG_NF_CONNTRACK_SIP works it around.
>
> I think this will fix it.
>
> Patrick, is this how we should do it?
>
> diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
> index c1fc0f1..fd60b2b 100644
> --- a/net/netfilter/Kconfig
> +++ b/net/netfilter/Kconfig
> @@ -245,7 +245,7 @@ config NF_CONNTRACK_SANE
>
> config NF_CONNTRACK_SIP
> tristate "SIP protocol support"
> - depends on NF_CONNTRACK
> + depends on NF_CONNTRACK && NF_NAT
> default m if NETFILTER_ADVANCED=n
> help
> SIP is an application-layer control protocol that can establish,

thanks David, this solves the build failure here.

Tested-by: Ingo Molnar <mingo@xxxxxxx>

Ingo

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/