netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cannot unload nf_conntrack
@ 2011-05-04  9:08 Menyhart Zoltan
  0 siblings, 0 replies; only message in thread
From: Menyhart Zoltan @ 2011-05-04  9:08 UTC (permalink / raw)
  To: netfilter

Hi,

I cannot unload nf_conntrack because nf_conntrack_untracked.ct_general.use.counter  == 7.

The last_unloaded_module is "nf_conntrack_ipv6".

Probably the following has happend:

nf_conntrack_in(struct net *net, u_int8_t pf, unsigned int hooknum, struct sk_buff *skb):

	ret = l4proto->error(net, skb, dataoff, &ctinfo, pf, hooknum):
/* e.g. */	icmpv6_error(struct net *net, struct sk_buff *skb, unsigned int dataoff,
			     enum ip_conntrack_info *ctinfo, u_int8_t pf, unsigned int hooknum):
			if (type >= 0 && type < sizeof(noct_valid_new) && noct_valid_new[type]) {
				skb->nfct = &nf_conntrack_untracked.ct_general;
				skb->nfctinfo = IP_CT_NEW;
				nf_conntrack_get(skb->nfct);
				return NF_ACCEPT;
		}

	ct = resolve_normal_ct(net, skb, dataoff, pf, protonum, l3proto, l4proto, &set_reply, &ctinfo);
		skb->nfct = &ct->ct_general;
		skb->nfctinfo = *ctinfo;

Is it normal for resolve_normal_ct() to overwrite skb->nfct without putting the previous conntrack?

It has actually happened on a 2.6.32, but the source is the same for 2.6.38, too.
A dump is available at ftp://visibull.frec.bull.fr/pub/linux/tmp.

Thanks in advance,

Zoltan Menyhart

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-04  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04  9:08 Cannot unload nf_conntrack Menyhart Zoltan

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).