Re: [PATCH 2.6.25] IPv4: thresholds in fib_trie.c are not modified, make them const

2007-12-12 Thread Denis V. Lunev
David Miller wrote: > From: "Denis V. Lunev" <[EMAIL PROTECTED]> > Date: Wed, 12 Dec 2007 14:05:55 +0300 > >> -static int halve_threshold = 25; >> -static int inflate_threshold = 50; >> -static int halve_threshold_root = 15; >> -static int inflate_threshold_root = 25; > > halve_threshold_root and

Re: [PATCH 2.6.25] IPv4: thresholds in fib_trie.c are not modified, make them const

2007-12-12 Thread David Miller
From: "Denis V. Lunev" <[EMAIL PROTECTED]> Date: Wed, 12 Dec 2007 14:05:55 +0300 > -static int halve_threshold = 25; > -static int inflate_threshold = 50; > -static int halve_threshold_root = 15; > -static int inflate_threshold_root = 25; halve_threshold_root and inflate_threshold_root have diffe

[PATCH 2.6.25] IPv4: thresholds in fib_trie.c are not modified, make them const

2007-12-12 Thread Denis V. Lunev
IPv4: thresholds in fib_trie.c are not modified, make them const Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]> diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index 45a6e4d..57a2c46 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c @@ -299,10 +299,10 @@ static inline void check