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
..
2009-11-02 08:43:45 -06:00
2009-12-03 19:34:24 +01:00
2010-02-15 18:13:33 +01:00
2010-02-16 23:05:38 -08:00
2010-01-07 00:24:55 -08:00
2009-12-09 19:43:33 -08:00
2009-10-22 21:56:42 -07:00
2009-09-15 02:37:40 -07:00
2009-11-04 05:06:25 -08:00
2009-09-01 17:40:57 -07:00
2010-02-08 16:50:53 -05:00
2009-12-11 15:07:56 -08:00
2009-09-01 01:24:30 -07:00
2009-12-08 07:55:01 -08:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2009-09-01 17:40:31 -07:00
2009-12-23 14:13:30 -08:00
2009-12-03 12:22:55 -08:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2010-01-23 01:21:28 -08:00
2010-02-08 16:50:53 -05:00
2009-11-06 14:32:18 +03:00
2009-11-04 05:06:25 -08:00
2009-12-08 20:17:51 -08:00
2009-09-30 16:12:20 -07:00
2009-12-08 20:17:51 -08:00
2010-01-11 16:28:01 -08:00
2009-12-08 20:17:51 -08:00
2009-11-13 20:46:58 -08:00
2010-02-12 12:06:35 -08:00
2009-11-04 05:06:25 -08:00
2009-11-06 00:55:55 -08:00
2010-01-05 05:50:24 +01:00
2010-02-16 23:05:38 -08:00
2010-02-16 23:05:38 -08:00
2009-11-04 05:06:25 -08:00
2010-02-17 00:03:28 -08:00
2009-11-04 05:06:25 -08:00
2009-12-26 20:43:57 -08:00
2009-12-26 20:46:28 -08:00
2010-02-09 14:10:05 -05:00
2009-09-24 07:21:04 -07:00
2010-02-16 23:05:38 -08:00
2010-01-13 16:02:14 +01:00
2010-01-16 01:04:04 -08:00
2009-11-20 15:35:04 -08:00
2010-01-28 21:27:00 -08:00
2009-11-05 21:40:17 -08:00
2009-11-04 05:06:25 -08:00
2010-02-01 15:40:06 -05:00
2010-01-17 19:09:39 -08:00
2010-02-16 23:05:38 -08:00
2009-11-08 00:53:51 -08:00
2010-01-28 21:27:00 -08:00
2009-11-04 05:06:25 -08:00
2010-02-16 23:05:38 -08:00
2010-02-14 22:35:47 -08:00
2010-02-16 23:05:38 -08:00
2009-09-02 01:03:49 -07:00
2009-11-10 20:54:38 -08:00
2009-10-07 16:39:43 -04:00
2009-12-09 19:43:33 -08:00
2009-11-06 14:32:24 +03:00
2009-11-29 00:24:59 -08:00
2010-02-12 13:27:48 -08:00