[Top] [All Lists]

Re: [IPV4/IPV6] Ensure all frag_list members have NULL sk

To: Evgeniy Polyakov <johnpol@xxxxxxxxxxx>
Subject: Re: [IPV4/IPV6] Ensure all frag_list members have NULL sk
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 May 2005 07:29:42 +1000
Cc: netdev@xxxxxxxxxxx, davem@xxxxxxxxxxxxx
In-reply-to: <>
References: <> <> <> <> <> <>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Sun, May 15, 2005 at 09:33:41PM +0400, Evgeniy Polyakov wrote:
> > So let's go the other way and make this an invariant:
> > 
> >     For any skb on a frag_list, skb->sk must be NULL.
> This requires skb_set_owner_* to check if it is called
> for head skb or one from fragment and does nothing if
> it is from frag_list.
> Or to check the whole tree for ownering calls...

Not really.  The frag_list skb's owned by sk's are generated in
one place only, and that place is ip*_push_pending_frames.

Visit Openswan at
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key:

<Prev in Thread] Current Thread [Next in Thread>