Thread (4 messages) 4 messages, 3 authors, 2013-05-01

Re: [patch 1/1] ipvs: change type of netns_ipvs->sysctl_sync_qlen_max

From: Simon Horman <horms@verge.net.au>
Date: 2013-05-01 08:51:35

On Tue, Apr 30, 2013 at 12:22:44AM -0400, David Miller wrote:
From: Simon Horman <horms@verge.net.au>
Date: Tue, 30 Apr 2013 11:24:17 +0900
quoted
On Mon, Apr 29, 2013 at 11:55:10AM -0700, akpm@linux-foundation.org wrote:
quoted
From: Zhang Yanfei <redacted>
Subject: ipvs: change type of netns_ipvs->sysctl_sync_qlen_max

This member of struct netns_ipvs is calculated from nr_free_buffer_pages
so change its type to unsigned long in case of overflow.  Also, type of
its related proc var sync_qlen_max and the return type of function
sysctl_sync_qlen_max() should be changed to unsigned long, too.

Besides, the type of ipvs_master_sync_state->sync_queue_len should be
changed to unsigned long accordingly.

Signed-off-by: Zhang Yanfei <redacted>
Cc: Simon Horman <horms@verge.net.au>
Cc: Julian Anastasov <ja@ssi.bg>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Andrew, David,

It seems most appropriate for me to
queue this up for v3.11 in the ipvs-next tree.

Is that fine?
I'm personally fine with that.

Thanks, queued-up accordingly.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help