Skip to contentSkip to conversation

nf_conntrack_proto_udplite

DISCUSSION Steven Jan Springl 3 participants 5 messages Apr 22, 2009 – Apr 24, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello

Whilst testing kernel 2.6.30-rc3 I have noticed that when I issue command:

modprobe nf_conntrack_proto_udplite

the following message is produced:

FATAL: Error inserting nf_conntrack_proto_udplite (/lib/modules/2.6.30-rc3/kernel/net/netfilter/nf_conntrack_proto_udplite.ko):
Invalid argument

Is this a kernel bug or have I done something wrong?

Steven.

#1 lore raw
Quoted 11 lines · Steven Jan Springl

Hello

Whilst testing kernel 2.6.30-rc3 I have noticed that when I issue command:

modprobe nf_conntrack_proto_udplite

the following message is produced:

FATAL: Error inserting nf_conntrack_proto_udplite (/lib/modules/2.6.30-rc3/kernel/net/netfilter/nf_conntrack_proto_udplite.ko): Invalid argument

Is this a kernel bug or have I done something wrong?

Thanks for the report, it seems the IPv6 udplite protocol was forgotten during a recent API change.

Does this patch help?

net/netfilter/nf_conntrack_proto_udplite.c +1 -0
index 4614696..0badedc 100644
@@ -204,6 +204,7 @@ static struct nf_conntrack_l4proto nf_conntrack_l4proto_udplite6 __read_mostly =
 	.error			= udplite_error,
 #if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE)
 	.tuple_to_nlattr	= nf_ct_port_tuple_to_nlattr,
+	.nlattr_tuple_size	= nf_ct_port_nlattr_tuple_size,
 	.nlattr_to_tuple	= nf_ct_port_nlattr_to_tuple,
 	.nla_policy		= nf_ct_port_nla_policy,
 #endif
#2 lore raw
Quoted 14 lines · On Thursday 23 April 2009 11:30:12 Patrick McHardy wrote:
Quoted 13 lines · Steven Jan Springl

Hello

Whilst testing kernel 2.6.30-rc3 I have noticed that when I issue command:

modprobe nf_conntrack_proto_udplite

the following message is produced:

FATAL: Error inserting nf_conntrack_proto_udplite (/lib/modules/2.6.30-rc3/kernel/net/netfilter/nf_conntrack_proto_udplite. ko): Invalid argument

Quoted 6 lines
Quoted 1 line

Is this a kernel bug or have I done something wrong?

Thanks for the report, it seems the IPv6 udplite protocol was forgotten during a recent API change.

Does this patch help?

Patrick

The patch has fixed the problem. Thank you.

Steven.

#3 lore raw

Hi Patrick,

Quoted 15 lines · Steven Jan Springl
Quoted 14 lines · On Thursday 23 April 2009 11:30:12 Patrick McHardy wrote:
Quoted 13 lines · Steven Jan Springl

Hello

Whilst testing kernel 2.6.30-rc3 I have noticed that when I issue command:

modprobe nf_conntrack_proto_udplite

the following message is produced:

FATAL: Error inserting nf_conntrack_proto_udplite (/lib/modules/2.6.30-rc3/kernel/net/netfilter/nf_conntrack_proto_udplite. ko): Invalid argument

Quoted 5 lines
Quoted 5 lines
Quoted 1 line

Is this a kernel bug or have I done something wrong?

Thanks for the report, it seems the IPv6 udplite protocol was forgotten during a recent API change.

Does this patch help?

We also need it for DCCP. I'm going to send another patch for it.

Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers
#4 lore raw
Quoted 10 lines · Pablo Neira Ayuso

Hi Patrick,

Quoted 5 lines · Steven Jan Springl
Quoted 4 lines · On Thursday 23 April 2009 11:30:12 Patrick McHardy wrote:

Thanks for the report, it seems the IPv6 udplite protocol was forgotten during a recent API change.

Does this patch help?

We also need it for DCCP. I'm going to send another patch for it.

I already noticed and fixed it as well, thanks.