[Devel] Re: [PATCH 1/9] Move common fields from frag_queues in one place

David Miller davem at davemloft.net
Mon Oct 15 02:24:43 PDT 2007


From: Pavel Emelyanov <xemul at openvz.org>
Date: Fri, 12 Oct 2007 17:00:06 +0400

> Introduce the struct inet_frag_queue in include/net/inet_frag.h
> file and place there all the common fields from three structs:
> 
>  * struct ipq in ipv4/ip_fragment.c
>  * struct nf_ct_frag6_queue in nf_conntrack_reasm.c
>  * struct frag_queue in ipv6/reassembly.c
> 
> After this, replace these fields on appropriate structures with
> this structure instance and fix the users to use correct names
> i.e. hunks like
> 
> -    atomic_dec(&fq->refcnt);
> +    atomic_dec(&fq->q.refcnt);
> 
> (these occupy most of the patch)
> 
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>

Applied.




More information about the Devel mailing list