Joe Perches
9874c41cd5
ipv6.h: reassembly: replace calculated magic number with multiplication
On Tue, 2010-02-16 at 16:47 +0100, Patrick McHardy wrote:
> Joe Perches wrote:
> >> @@ -246,6 +246,8 @@ extern int ipv6_opt_accepted(struct sock *sk, struct sk_buff *skb);
> >> int ip6_frag_nqueues(struct net *net);
> >> int ip6_frag_mem(struct net *net);
> >>
> >> +#define IPV6_FRAG_HIGH_THRESH 262144 /* == 256*1024 */
> >> +#define IPV6_FRAG_LOW_THRESH 196608 /* == 192*1024 */
> >> #define IPV6_FRAG_TIMEOUT (60*HZ) /* 60 seconds */
> >
> > 196608 isn't a number I want to remember.
> > Is this better as:
> >
> > #define IPV6_FRAG_HIGH_THRESH (256 * 1024) /* 262144 */
> > #define IPV6_FRAG_LOW_THRESH (192 * 1024) /* 196608 */
>
> Please send a patch, I'll apply it once these patches are in Dave's
> tree.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-17 00:03:28 -08:00
..
2010-01-20 01:14:50 -05:00
2009-12-17 11:03:24 -05:00
2009-10-19 12:53:37 +09:00
2010-02-11 12:10:52 +10:00
2010-02-16 23:05:38 -08:00
2009-12-16 09:27:41 -02:00
2010-02-17 00:03:28 -08:00
2009-12-07 22:23:40 +01:00
2009-12-15 23:39:25 -08:00
2010-01-17 12:36:33 -06:00
2009-12-09 19:43:33 -08:00
2009-12-30 10:27:06 -05:00
2009-12-16 10:29:52 -08:00
2009-11-04 08:47:24 -08:00