netdev
[Top] [All Lists]

Re: [PATCH] netlink: defer socket destruction a bit

To: Tommy Christensen <tommy.christensen@xxxxxxxxx>
Subject: Re: [PATCH] netlink: defer socket destruction a bit
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 May 2005 20:36:39 +1000
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, Ken-ichirou MATSUZAWA <chamas@xxxxxxxxxxxxx>
In-reply-to: <1115891821.30106.86.camel@tsc-6.cph.tpack.net>
References: <428284D6.9000804@tpack.net> <20050511222421.GA21331@gondor.apana.org.au> <4282889A.7080409@tpack.net> <20050511230309.GA21547@gondor.apana.org.au> <1115891821.30106.86.camel@tsc-6.cph.tpack.net>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Thu, May 12, 2005 at 11:57:01AM +0200, Tommy Christensen wrote:
> 
> I moved the call to skb_orphan in the other patch, as you
> suggested.  I think that also makes this patch safe as it is.
> 
> Right?

Indeed it is.  This also means that we don't hold onto the skb's
share of rmalloc quota for an excessive amount of time if the
number of broadcast sockets is large.

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>