Re: [PATCH] ipv4: kernel panic when only one unsecured portavailable

From: David Miller
Date: Mon Oct 15 2007 - 16:06:44 EST


From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Oct 2007 12:49:19 -0700

> This code has recently been reworked, but from my reading, that
> divide-by-zero can still occur. And given that the numbers in
> /proc/sys/net/ipv4/ip_local_port_range are inclusive, the arithmetic in
> inet_csk_get_port() seems to just be wrong?
>
> So we have this, against David's current devel tree:

I'm pretty sure we took care of this, but maybe not :-)
-
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/