netdev
[Top] [All Lists]

Re: [IPV4/IPV6] Keep wmem accounting separate in ip*_push_pending_frames

To: "David S. Miller" <davem@xxxxxxxxxxxxx>
Subject: Re: [IPV4/IPV6] Keep wmem accounting separate in ip*_push_pending_frames
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 May 2005 11:00:58 +1000
Cc: johnpol@xxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20050515.173944.122590923.davem@xxxxxxxxxxxxx>
References: <20050515.152441.106262257.davem@xxxxxxxxxxxxx> <20050515232020.GA19859@xxxxxxxxxxxxxxxxxxx> <20050515235913.GA20242@xxxxxxxxxxxxxxxxxxx> <20050515.173944.122590923.davem@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Sun, May 15, 2005 at 05:39:44PM -0700, David S. Miller wrote:
> 
> This code should therefore just skb_orphan(), and nothing
> more.  Right?

Ideally we should move the ownership to the head skb here as well.
However, doing this would cause havoc when you have nasty users
sending fragments from two different sockets :)

So let's stick with just the skb_orphan.

Thanks,
-- 
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

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