On 7/12/06, Herbert Xu <[EMAIL PROTECTED]> wrote:
Ian McDonald <[EMAIL PROTECTED]> wrote:
>
> It looks to me like this check here in net/core/stream.c for
> __sk_stream_mem_reclaim:
>        if (sk->sk_forward_alloc >= SK_STREAM_MEM_QUANTUM) {
>
> is unnecessary.

It's needed after skb's have been freed which can push sk_forward_alloc
above a quantum.

I'm not saying the check is unneeded - just saying doing it twice is unneeded.

Sorry Herbert for two copies - forgot to add netdev first time.
--
Ian McDonald
Web: http://wand.net.nz/~iam4
Blog: http://imcdnzl.blogspot.com
WAND Network Research Group
Department of Computer Science
University of Waikato
New Zealand
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to