Re: [PATCH 1/1] net: fix __sk_stream_mem_reclaim

2006-07-12 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Thu, 13 Jul 2006 10:54:07 +1000 > Ian McDonald <[EMAIL PROTECTED]> wrote: > > __sk_stream_mem_reclaim is only called by sk_stream_mem_reclaim. > > > > As such the check on sk->sk_forward_alloc is not needed and can be removed. > > > > Signed-off-by: Ian

Re: [PATCH 1/1] net: fix __sk_stream_mem_reclaim

2006-07-12 Thread Herbert Xu
Ian McDonald <[EMAIL PROTECTED]> wrote: > __sk_stream_mem_reclaim is only called by sk_stream_mem_reclaim. > > As such the check on sk->sk_forward_alloc is not needed and can be removed. > > Signed-off-by: Ian McDonald <[EMAIL PROTECTED]> Acked-by: Herbert Xu <[EMAIL PROTECTED]> What's more, ev

[PATCH 1/1] net: fix __sk_stream_mem_reclaim

2006-07-12 Thread Ian McDonald
__sk_stream_mem_reclaim is only called by sk_stream_mem_reclaim. As such the check on sk->sk_forward_alloc is not needed and can be removed. Signed-off-by: Ian McDonald <[EMAIL PROTECTED]> --- diff --git a/net/core/stream.c b/net/core/stream.c index e948969..d1d7dec 100644 --- a/net/core/stream.

Re: [PATCH 1/1] net: fix __sk_stream_mem_reclaim

2006-07-12 Thread Herbert Xu
Ian McDonald <[EMAIL PROTECTED]> wrote: > __sk_stream_mem_reclaim is only called by sk_stream_mem_reclaim. > > As such the check on sk->sk_forward_alloc is not needed and can be removed. > > At the same time remove the EXPORT_SYMBOL_GPL as not needed and shift it > into include/net/sock.h I don'

[PATCH 1/1] net: fix __sk_stream_mem_reclaim

2006-07-12 Thread Ian McDonald
__sk_stream_mem_reclaim is only called by sk_stream_mem_reclaim. As such the check on sk->sk_forward_alloc is not needed and can be removed. At the same time remove the EXPORT_SYMBOL_GPL as not needed and shift it into include/net/sock.h Signed-off-by: Ian McDonald <[EMAIL PROTECTED]> --- diff -