Re: [Patch] Limit sysctl_tcp_mem and sysctl_udp_mem initializersto prevent integer overflows.

From: Robin Holt
Date: Mon Oct 18 2010 - 14:34:23 EST


On Mon, Oct 18, 2010 at 07:52:28PM +0200, Eric Dumazet wrote:
> Le lundi 18 octobre 2010 à 12:43 -0500, Robin Holt a écrit :
> > On Tue, Oct 05, 2010 at 02:50:32PM -0700, David Miller wrote:
> > > From: Robin Holt <holt@xxxxxxx>
> > > Date: Sat, 02 Oct 2010 06:24:06 -0500
> > >
> > > > Subject: [Patch] Limit sysctl_tcp_mem and sysctl_udp_mem initializers to prevent integer overflows.
> > > >
> > > > On a 16TB x86_64 machine, sysctl_tcp_mem[2], sysctl_udp_mem[2], and
> > > > sysctl_sctp_mem[2] can integer overflow. Set limit such that they are
> > > > maximized without overflowing.
> > > >
> > > > Signed-off-by: Robin Holt <holt@xxxxxxx>
> > >
> > > Robin please resubmit this with the SCTP bits included.
> >
> > David,
> >
> > I did not mean to blow you off. I was not going to resubmit because
> > Eric's patch is the preferred direction. I had been given an indication
> > that my patch was preferred, but that indicator changed.
> >
>
> Maybe there is some misunderstanding.
>
> My patch was for net-next kernels (not before 2.6.37), while yours was
> applicable to previous kernels.

Ah. I will resubmit then.

Sorry for the confusion,
Robin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/