| 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: | <20050515213341.4011c00e@zanzibar.2ka.mipt.ru> |
| References: | <20050514134834.GA2698@uganda.factory.vocord.ru> <E1DXE3h-0002jR-00@gondolin.me.apana.org.au> <20050515104016.GA24344@gondor.apana.org.au> <20050515114121.GA4830@gondor.apana.org.au> <20050515122256.GA22251@gondor.apana.org.au> <20050515213341.4011c00e@zanzibar.2ka.mipt.ru> |
| 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. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| Previous by Date: | Re: git repository for net drivers available, Jeff Garzik |
|---|---|
| Next by Date: | Re: [2.6 patch] document that 8139TOO supports 8129/8130, Jeff Garzik |
| Previous by Thread: | Re: [IPV4/IPV6] Ensure all frag_list members have NULL sk, Evgeniy Polyakov |
| Next by Thread: | Re: [IPV4/IPV6] Keep wmem accounting separate in ip*_push_pending_frames, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |