[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080512.153114.163063885.davem@davemloft.net>
Date: Mon, 12 May 2008 15:31:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hkchu@...gle.com
Cc: netdev@...r.kernel.org
Subject: Re: Socket buffer sizes with autotuning
From: David Miller <davem@...emloft.net>
Date: Mon, 12 May 2008 15:29:00 -0700 (PDT)
> Simply notice, when we're about to decrement in_flight, that the data
> reference is one. You can take appropriate actions if so.
Actually, there is an even simpler solution. Since this is a fast
clone, when the parent SKB is freed we can see if the fast-clone child
is active and has the in_flight atomic_t pointer. If so, we decrement
in_flight and zap it to NULL.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists