Re: [PATCH] tcp: avoid a possible divide by zero

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Wednesday, December 8, 2010 - 1:33 am

Le mercredi 08 décembre 2010 à 09:23 +0100, Martin Steigerwald a écrit :


We have many sysctls that can lead to non working machine.

Any kind of limits actually. Just set them to 0 (or maybe a negative
number :( )

0 socket, 0 file descriptor, 0 memory, 0 speed limit, 0 lengthes ...




It has nothing to do with the issue you raised, and is a completely
different subject. I got it while spending 5 minutes yesterday night
grep-ing some sysctls in network tree. 0 value is one of expected value
for this sysctl, but the test was not safe.



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] tcp: avoid a possible divide by zero, Ben Hutchings, (Tue Dec 7, 2:32 pm)
Re: [PATCH] tcp: avoid a possible divide by zero, Eric Dumazet, (Tue Dec 7, 3:03 pm)
Re: [PATCH] tcp: avoid a possible divide by zero, Martin Steigerwald, (Wed Dec 8, 1:23 am)
Re: [PATCH] tcp: avoid a possible divide by zero, Eric Dumazet, (Wed Dec 8, 1:33 am)
Re: [PATCH] tcp: avoid a possible divide by zero, David Miller, (Wed Dec 8, 1:35 pm)