Mattia Dongili wrote: > Hello, > > got this one while trying out 2.6.13-rc4-mm1 (not there in -r2-mm1), > from a quick look it seems to me that ip_conntrack_{get,put} are not > simmetric in updating the use count, thus simply adding this line might > help (it does actually, but I'm not aware if there could be any drawback): > > --- include/linux/netfilter_ipv4/ip_conntrack.h.clean 2005-08-01 15:09:49.000000000 +0200 > +++ include/linux/netfilter_ipv4/ip_conntrack.h 2005-08-01 15:08:52.000000000 +0200 > @@ -298,6 +298,7 @@ static inline struct ip_conntrack * > ip_conntrack_get(const struct sk_buff *skb, enum ip_conntrack_info *ctinfo) > { > *ctinfo = skb->nfctinfo; > + nf_conntrack_get(skb->nfct); > return (struct ip_conntrack *)skb->nfct; > } This creates lots of refcnt leaks, which is probably why it makes the underflow go away :) Please try this patch instead.