[Devel] Re: [PATCH 2/7] Consolidate xxx_frag_intern
David Miller
davem at davemloft.net
Wed Oct 17 19:44:42 PDT 2007
From: Pavel Emelyanov <xemul at openvz.org>
Date: Tue, 16 Oct 2007 17:53:03 +0400
> This routine checks for the existence of a given entry
> in the hash table and inserts the new one if needed.
>
> The ->equal callback is used to compare two frag_queue-s
> together, but this one is temporary and will be removed
> later. The netfilter code and the ipv6 one use the same
> routine to compare frags.
>
> The inet_frag_intern() always returns non-NULL pointer,
> so convert the inet_frag_queue into protocol specific
> one (with the container_of) without any checks.
>
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Applied.
More information about the Devel
mailing list